Files
RustProxy/Cargo.toml
T
2026-10-14 21:36:19 +02:00

79 lines
2.8 KiB
TOML

[package]
name = "rust-proxy"
version = "0.32.8"
edition = "2021"
rust-version = "1.99"
description = "RustProxy - independent reverse proxy with local administration"
publish = false
[dependencies]
argon2 = "0.6"
sha2 = "0.10"
ipnet = "2.11"
rpassword = "7.4"
zeroize = "1.8"
anyhow = "1.0"
libc = "0.2"
arc-swap = "1.7"
axum = { version = "0.8.9", default-features = false, features = ["http1", "http2", "json", "query", "tokio", "ws"] }
bytes = "1.10"
clap = { version = "4.5", features = ["derive", "env"] }
futures-util = "0.3"
fs2 = "0.4"
http = "1.3"
http-body = "1.0"
http-body-util = "0.1"
hyper = { version = "1.12.0", features = ["client", "server", "http1", "http2"] }
hyper-util = { version = "0.1", features = ["client-legacy", "server-auto", "http1", "http2", "tokio"] }
rand = "0.10"
regex = "1.11"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
sqlx = { version = "0.9", default-features = false, features = ["runtime-tokio", "sqlite"] }
subtle = "2.6"
tokio = { version = "1.53.2", features = ["macros", "rt-multi-thread", "net", "signal", "time", "sync", "fs", "io-util", "process"] }
tokio-util = { version = "0.7", features = ["rt", "io"] }
tower = { version = "0.5", features = ["util"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] }
url = "2.5"
base64 = "0.22"
sha1 = "0.10"
rustls = { version = "0.23", default-features = false, features = ["ring", "std", "tls12"] }
ring = "0.17"
tokio-rustls = { version = "0.26", default-features = false, features = ["ring", "tls12"] }
hyper-rustls = { version = "0.27", default-features = false, features = ["ring", "http1", "http2", "tls12"] }
rustls-pemfile = "2.2"
webpki-roots = "1.0"
rcgen = { version = "0.14.10", default-features = false, features = ["crypto", "pem", "ring"] }
httpdate = "1.0"
tower-http = { version = "0.7.1", default-features = false, features = ["compression-gzip", "compression-br", "compression-zstd", "compression-deflate"] }
flate2 = "1.1"
brotli = "9"
zstd = "0.14"
h3 = { package = "hpx-h3", version = "=2.5.20", features = ["quinn"] }
quinn = { version = "0.11.12", default-features = false, features = ["runtime-tokio", "rustls-ring"] }
metrics-process = { version = "=2.4.3", default-features = false, features = ["dummy"] }
sysinfo = { version = "0.39", default-features = false, features = ["network", "system"] }
[target.'cfg(any(target_os = "linux", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd", target_os = "dragonfly", target_os = "macos", target_os = "windows"))'.dependencies]
systemstat = "=0.2.7"
# Swagger assets are prepared by build.rs and embedded behind the admin guard.
# No adapter build script, implicit version fallback or Cargo-config dependency.
[build-dependencies]
serde_json = "1.0"
[dev-dependencies]
tempfile = "3.19"
[profile.release]
lto = "thin"
codegen-units = 1
strip = "debuginfo"