mirror of
https://github.com/quintusl/rust-socksd.git
synced 2026-11-13 16:17:46 +00:00
57 lines
1.4 KiB
TOML
57 lines
1.4 KiB
TOML
[package]
|
|
name = "rust-socksd"
|
|
version = "0.3.0"
|
|
edition = "2021"
|
|
description = "A high-performance SOCKS5 and HTTP proxy server written in Rust"
|
|
authors = ["Quintus Leung <quintusl@gmail.com>"]
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/quintusl/rust-socksd"
|
|
keywords = ["socks5", "proxy", "http", "network", "server"]
|
|
categories = ["network-programming", "web-programming"]
|
|
|
|
[dependencies]
|
|
tokio = { version = "1.0", features = ["full"] }
|
|
tokio-util = "0.7"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_yaml = "0.9"
|
|
serde_json = "1.0"
|
|
anyhow = "1.0"
|
|
thiserror = "1.0"
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
tracing-appender = "0.2"
|
|
tracing-journald = "0.3"
|
|
clap = { version = "4.0", features = ["derive"] }
|
|
bytes = "1.0"
|
|
async-trait = "0.1"
|
|
socket2 = "0.5"
|
|
trust-dns-resolver = "0.23"
|
|
base64 = "0.21"
|
|
futures = "0.3"
|
|
rand = "0.8"
|
|
subtle = "2.5"
|
|
argon2 = "0.5"
|
|
bcrypt = "0.15"
|
|
scrypt = "0.11"
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
pam = { version = "0.7", optional = true }
|
|
ldap3 = "0.12"
|
|
sqlx = { version = "0.8", features = ["runtime-tokio-rustls", "mysql", "postgres", "any"] }
|
|
|
|
[features]
|
|
default = ["pam-auth"]
|
|
pam-auth = ["dep:pam"]
|
|
|
|
[dev-dependencies]
|
|
tokio-test = "0.4"
|
|
|
|
[[bin]]
|
|
name = "rust-socksd"
|
|
path = "src/main.rs"
|
|
|
|
[profile.release]
|
|
opt-level = 3
|
|
lto = true
|
|
codegen-units = 1
|
|
strip = true
|