-
Notifications
You must be signed in to change notification settings - Fork 369
/
Cargo.toml
84 lines (71 loc) · 3.19 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
[package]
name = "wstunnel"
version = "10.1.5"
edition = "2021"
repository = "https://github.com/erebe/wstunnel.git"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
ahash = { version = "0.8.11", features = [] }
anyhow = "1.0.89"
async-trait = "0.1.83"
base64 = "0.22.1"
scopeguard = "1.2.0"
bb8 = { version = "0.8", features = [] }
bytes = { version = "1.7.2", features = [] }
clap = { version = "4.5.20", features = ["derive", "env"] }
fast-socks5 = { version = "0.9.6", features = [] }
fastwebsockets = { git = "https://github.com/erebe/fastwebsockets.git", features = ["upgrade", "simd", "unstable-split"] }
futures-util = { version = "0.3.31" }
hickory-resolver = { version = "0.24.1", features = ["tokio", "dns-over-https-rustls", "dns-over-rustls", "native-certs"] }
ppp = { version = "2.2.0", features = [] }
async-channel = { version = "2.3.1", features = [] }
arc-swap = { version = "1.7.1", features = [] }
# For config file parsing
regex = { version = "1.11.0", default-features = false, features = ["std", "perf"] }
serde_regex = "1.1.0"
serde_yaml = { version = "0.9.34", features = [] }
ipnet = { version = "2.10.1", features = ["serde"] }
hyper = { version = "1.4.1", features = ["client", "http1", "http2"] }
hyper-util = { version = "0.1.9", features = ["tokio", "server", "server-auto"] }
http-body-util = { version = "0.1.2" }
jsonwebtoken = { version = "9.3.0", default-features = false }
log = "0.4.22"
nix = { version = "0.29.0", features = ["socket", "net", "uio"] }
parking_lot = "0.12.3"
pin-project = "1"
notify = { version = "6.1.1", features = [] }
rustls-native-certs = { version = "0.8.0", features = [] }
rustls-pemfile = { version = "2.2.0", features = [] }
x509-parser = "0.16.0"
serde = { version = "1.0.210", features = ["derive"] }
socket2 = { version = "0.5.7", features = [] }
tokio = { version = "1.40.0", features = ["full"] }
tokio-stream = { version = "0.1.16", features = ["net"] }
tracing = { version = "0.1.40", features = ["log"] }
tracing-subscriber = { version = "0.3.18", features = ["env-filter", "fmt", "local-time"] }
url = "2.5.2"
urlencoding = "2.1.3"
uuid = { version = "1.10.0", features = ["v7", "serde"] }
[target.'cfg(not(target_family = "unix"))'.dependencies]
crossterm = { version = "0.28.1" }
tokio-util = { version = "0.7.12", features = ["io"] }
[target.'cfg(target_family = "unix")'.dependencies]
tokio-fd = "0.3.0"
[target.'cfg(all(any(target_os = "linux", target_os = "macos"), any(target_arch = "x86_64", target_arch = "aarch64")))'.dependencies]
tokio-rustls = { version = "0.26.0", features = [] }
rcgen = { version = "0.13.1", default-features = false, features = ["aws_lc_rs"] }
[target.'cfg(not(all(any(target_os = "linux", target_os = "macos"), any(target_arch = "x86_64", target_arch = "aarch64"))))'.dependencies]
tokio-rustls = { version = "0.26.0", default-features = false, features = ["logging", "tls12", "ring"] }
rcgen = { version = "0.13.1", default-features = false, features = ["ring"] }
[dev-dependencies]
testcontainers = "0.23.1"
[profile.release]
lto = "fat"
panic = "abort"
codegen-units = 1
opt-level = 3
debug = 0
strip = "symbols"
[profile.release-with-symbols]
inherits = "release"
strip = false