Files
RustProxy/Cargo.toml
T
2026-11-24 16:03:36 +01:00

95 lines
3.7 KiB
TOML

[package]
name = "rust-proxy"
version = "0.41.3"
edition = "2021"
rust-version = "1.99.1"
description = "RustProxy - independent reverse proxy with local administration"
authors = ["Mateusz Gruszczyński"]
license = "AGPL-3.0-or-later"
homepage = "https://rustproxy.linuxiarz.pl/"
repository = "https://git.linuxiarz.pl/gru/RustProxy"
publish = false
[dependencies]
argon2 = "0.6.0"
sha2 = "0.11.1"
ipnet = "2.12.2"
rpassword = "7.5.5"
zeroize = "1.9.2"
anyhow = "1.0.104"
mimalloc = { version = "0.1.52", default-features = false, optional = true }
libc = "0.2.191"
arc-swap = "1.9.5"
axum = { version = "0.8.9", default-features = false, features = ["http1", "http2", "json", "query", "tokio", "ws"] }
bytes = "1.12.2"
clap = { version = "4.6.8", features = ["derive", "env"] }
futures-util = "0.3.34"
fs2 = "0.4.3"
http = "1.5.0"
http-body = "1.1.0"
http-body-util = "0.1.5"
hyper = { version = "1.12.0", features = ["client", "server", "http1", "http2"] }
hyper-util = { version = "0.1.21", features = ["client-legacy", "server-auto", "http1", "http2", "tokio"] }
rand = "0.10.4"
regex = "1.13.2"
serde = { version = "1.0.229", features = ["derive"] }
serde_json = "1.0.154"
sqlx = { version = "0.9.1", default-features = false, features = ["runtime-tokio", "sqlite"] }
# Security floor: SQLx allows >=0.30.1,<0.41; 0.39+ bundles SQLite with CVE-2026-119375 fixed.
libsqlite3-sys = { version = "0.40.0", default-features = false }
subtle = "2.6.1"
tokio = { version = "1.54.1", features = ["macros", "rt-multi-thread", "net", "signal", "time", "sync", "fs", "io-util", "process"] }
tokio-util = { version = "0.7.20", features = ["rt", "io"] }
tower = { version = "0.5.3", features = ["util"] }
tracing = "0.1.44"
tracing-subscriber = { version = "0.3.23", features = ["env-filter", "fmt"] }
url = "2.5.8"
base64 = "0.23.1"
sha1 = "0.11.0"
rustls = { version = "0.23.46", default-features = false, features = ["ring", "aws_lc_rs", "std", "tls12"] }
# Security floor: 0.103.16 rejects distrusted emSign intermediates (RUSTSEC-2026-0382).
rustls-webpki = { version = "0.103.16", default-features = false }
ring = "0.17.14"
tokio-rustls = { version = "0.26.6", default-features = false, features = ["ring", "tls12"] }
hyper-rustls = { version = "0.27.10", default-features = false, features = ["ring", "http1", "http2", "tls12"] }
rustls-pemfile = "2.2.0"
webpki-roots = "1.0.12"
rcgen = { version = "0.14.10", default-features = false, features = ["crypto", "pem", "ring"] }
httpdate = "1.0.3"
tower-http = { version = "0.7.1", default-features = false, features = ["compression-gzip", "compression-br", "compression-zstd", "compression-deflate"] }
flate2 = "1.1.11"
brotli = "9.1.3"
zstd = "0.14.4"
h3 = { package = "hpx-h3", version = "=2.6.1", features = ["quinn"] }
quinn = { version = "0.11.12", default-features = false, features = ["runtime-tokio", "rustls-ring"] }
# Security floor: 0.11.19 fixes the Nov 2026 QUIC DoS advisories RUSTSEC-2026-0523/0524.
quinn-proto = { version = "0.11.19", default-features = false }
socket2 = "0.6.5"
metrics-process = { version = "=2.4.3", default-features = false, features = ["dummy"] }
sysinfo = { version = "0.40.4", 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.8"
# Swagger assets are prepared by build.rs and embedded behind the admin guard.
# No adapter build script, implicit version fallback or Cargo-config dependency.
[features]
default = []
mimalloc = ["dep:mimalloc"]
[build-dependencies]
serde_json = "1.0.154"
[dev-dependencies]
tempfile = "3.27.0"
[profile.release]
lto = "thin"
codegen-units = 1
strip = "debuginfo"