50 lines
982 B
TOML
50 lines
982 B
TOML
[package]
|
|
name = "rhttpd"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
# Async runtime
|
|
tokio = { version = "1.0", features = ["full"] }
|
|
# HTTP server framework
|
|
axum = "0.7"
|
|
tower = { version = "0.4", features = ["util"] }
|
|
tower-http = { version = "0.4", features = ["fs", "trace", "cors"] }
|
|
hyper = "1.0"
|
|
|
|
# Configuration management
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
toml = "0.7"
|
|
|
|
# Static file serving
|
|
mime_guess = "2.0"
|
|
|
|
# Proxy functionality
|
|
reqwest = { version = "0.11", features = ["json", "stream"] }
|
|
tokio-util = { version = "0.7", features = ["codec"] }
|
|
tokio-native-tls = "0.3"
|
|
tokio-tungstenite = "0.20"
|
|
base64 = "0.21"
|
|
sha1 = "0.10"
|
|
rand = "0.8"
|
|
tungstenite = "0.20"
|
|
|
|
# Routing and matching
|
|
matchit = "0.7"
|
|
regex = "1.0"
|
|
|
|
# Error handling
|
|
thiserror = "1.0"
|
|
anyhow = "1.0"
|
|
|
|
# Logging
|
|
tracing = "0.1"
|
|
tracing-subscriber = "0.3"
|
|
|
|
# JavaScript engine (placeholder for future implementation)
|
|
# rquickjs = "0.4"
|
|
|
|
|
|
parking_lot = "0.12"
|