[package] name = "onion-transit" version = "0.1.0" edition = "2021" description = "Centralized Tor proxy daemon for LAN/VPS environments" license = "MIT" readme = "README.md" default-run = "onion-transit" [[bin]] name = "onion-transit" path = "src/main.rs" [[bin]] name = "onion-transit-tproxy" path = "src/bin/tproxy.rs" required-features = ["tproxy"] [features] default = [] tproxy = [] reduced-security = [] [dependencies] # Tor arti-client = { version = "0.39", features = ["tokio", "onion-service-client"] } tor-rtcompat = { version = "0.39", features = ["tokio"] } # Async runtime tokio = { version = "1", features = ["full"] } # SOCKS5 proxy fast-socks5 = "1.0" # CLI clap = { version = "4", features = ["derive"] } # Config serde = { version = "1", features = ["derive"] } toml = "0.8" # Logging tracing = "0.1" tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] } # Error handling thiserror = "2" anyhow = "1" # Network utilities ipnet = { version = "2", features = ["serde"] } # Serialization (for --status --json) serde_json = "1" # Metrics / state arc-swap = "1" tracing-appender = "0.2.4" [target.'cfg(target_os = "linux")'.dependencies] nix = { version = "0.29", features = ["socket"], optional = true } [profile.release] lto = true strip = true