Initialize Rust project with Cargo, dependencies, and module skeleton
Set up single-binary reverse-proxy project with all core dependencies (axum, tokio, hyper, tower, rustls, tokio-rustls, rustls-acme, serde, toml, arc-swap, tracing, tracing-subscriber, rustls-pemfile, rustls-pki-types, clap, signal-hook, anyhow, thiserror) pinned to exact versions. Create module skeleton (config, proxy, tls, rate_limit, logging, admin, health, shutdown) matching architecture spec.
This commit is contained in:
29
Cargo.toml
Normal file
29
Cargo.toml
Normal file
@@ -0,0 +1,29 @@
|
||||
[package]
|
||||
name = "reverse-proxy"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
license = "MIT OR Apache-2.0"
|
||||
|
||||
[[bin]]
|
||||
name = "reverse-proxy"
|
||||
path = "src/main.rs"
|
||||
|
||||
[dependencies]
|
||||
axum = "=0.8.9"
|
||||
tokio = { version = "=1.45.1", features = ["full"] }
|
||||
hyper = "=1.6.0"
|
||||
tower = "=0.5.2"
|
||||
rustls = { version = "=0.23.28", features = ["aws_lc_rs"] }
|
||||
tokio-rustls = "=0.26.2"
|
||||
rustls-acme = { version = "=0.12.1", features = ["aws-lc-rs"] }
|
||||
serde = { version = "=1.0.228", features = ["derive"] }
|
||||
toml = "=0.8.23"
|
||||
arc-swap = "=1.7.1"
|
||||
tracing = "=0.1.41"
|
||||
tracing-subscriber = "=0.3.19"
|
||||
rustls-pemfile = "=2.2.0"
|
||||
rustls-pki-types = "=1.12.0"
|
||||
clap = { version = "=4.6.1", features = ["derive"] }
|
||||
signal-hook = "=0.3.18"
|
||||
anyhow = "=1.0.102"
|
||||
thiserror = "=2.0.18"
|
||||
Reference in New Issue
Block a user