2023-09-14 20:47:02 +00:00
|
|
|
[package]
|
|
|
|
name = "wstunnel"
|
2024-06-24 18:37:45 +00:00
|
|
|
version = "9.7.1"
|
2023-09-14 20:47:02 +00:00
|
|
|
edition = "2021"
|
2023-10-18 14:54:09 +00:00
|
|
|
repository = "https://github.com/erebe/wstunnel.git"
|
2023-09-14 20:47:02 +00:00
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
2024-03-28 07:08:57 +00:00
|
|
|
ahash = { version = "0.8.11", features = [] }
|
2024-05-25 08:48:12 +00:00
|
|
|
anyhow = "1.0.86"
|
2024-05-09 11:33:23 +00:00
|
|
|
async-trait = "0.1.80"
|
|
|
|
base64 = "0.22.1"
|
|
|
|
scopeguard = "1.2.0"
|
2023-12-04 17:21:55 +00:00
|
|
|
|
|
|
|
bb8 = { version = "0.8", features = [] }
|
2024-03-28 07:08:57 +00:00
|
|
|
bytes = { version = "1.6.0", features = [] }
|
2024-06-24 18:06:38 +00:00
|
|
|
clap = { version = "4.5.7", features = ["derive", "env"] }
|
2024-03-28 07:08:57 +00:00
|
|
|
fast-socks5 = { version = "0.9.6", features = [] }
|
2024-06-24 18:06:38 +00:00
|
|
|
fastwebsockets = { version = "0.8.0", features = ["upgrade", "simd", "unstable-split"] }
|
2024-01-09 20:04:57 +00:00
|
|
|
futures-util = { version = "0.3.30" }
|
2024-06-19 20:34:53 +00:00
|
|
|
hickory-resolver = { version = "0.24.1", features = ["tokio", "dns-over-https-rustls", "dns-over-rustls", "native-certs"] }
|
2024-04-27 20:40:32 +00:00
|
|
|
ppp = { version = "2.2.0", features = [] }
|
|
|
|
|
|
|
|
# For config file parsing
|
2024-06-24 18:06:38 +00:00
|
|
|
regex = { version = "1.10.5", default-features = false, features = ["std", "perf"] }
|
2024-04-27 20:40:32 +00:00
|
|
|
serde_regex = "1.1.0"
|
|
|
|
serde_yaml = { version = "0.9.34", features = [] }
|
|
|
|
ipnet = { version = "2.9.0", features = ["serde"] }
|
2023-09-14 20:47:02 +00:00
|
|
|
|
2024-05-09 11:33:23 +00:00
|
|
|
hyper = { version = "1.3.1", features = ["client", "http1", "http2"] }
|
2024-06-07 20:17:47 +00:00
|
|
|
hyper-util = { version = "0.1.5", features = ["tokio", "server", "server-auto"] }
|
2024-06-24 18:06:38 +00:00
|
|
|
http-body-util = { version = "0.1.2" }
|
2024-03-28 07:08:57 +00:00
|
|
|
jsonwebtoken = { version = "9.3.0", default-features = false }
|
|
|
|
log = "0.4.21"
|
2024-05-25 08:48:12 +00:00
|
|
|
nix = { version = "0.29.0", features = ["socket", "net", "uio"] }
|
2023-12-15 08:47:06 +00:00
|
|
|
once_cell = { version = "1.19.0", features = [] }
|
2024-05-25 08:48:12 +00:00
|
|
|
parking_lot = "0.12.3"
|
2023-12-04 17:21:55 +00:00
|
|
|
pin-project = "1"
|
2023-12-29 08:56:47 +00:00
|
|
|
notify = { version = "6.1.1", features = [] }
|
2023-09-14 20:47:02 +00:00
|
|
|
|
2023-12-04 17:21:55 +00:00
|
|
|
rustls-native-certs = { version = "0.7.0", features = [] }
|
2024-05-09 11:33:23 +00:00
|
|
|
rustls-pemfile = { version = "2.1.2", features = [] }
|
2024-05-06 08:00:08 +00:00
|
|
|
x509-parser = "0.16.0"
|
2024-06-07 20:17:47 +00:00
|
|
|
serde = { version = "1.0.203", features = ["derive"] }
|
2024-05-09 11:33:23 +00:00
|
|
|
socket2 = { version = "0.5.7", features = [] }
|
2024-06-07 20:17:47 +00:00
|
|
|
tokio = { version = "1.38.0", features = ["full"] }
|
2024-03-28 07:08:57 +00:00
|
|
|
tokio-stream = { version = "0.1.15", features = ["net"] }
|
2023-09-14 20:47:02 +00:00
|
|
|
|
2024-05-25 09:11:00 +00:00
|
|
|
[target.'cfg(any(os = "linux", os = "macos"))'.dependencies]
|
2024-05-14 06:29:41 +00:00
|
|
|
tokio-rustls = { version = "0.26.0", features = [] }
|
2024-05-25 09:11:00 +00:00
|
|
|
[target.'cfg(not(any(os = "linux", os = "macos")))'.dependencies]
|
2024-05-09 11:33:23 +00:00
|
|
|
tokio-rustls = { version = "0.26.0", default-features = false, features = ["logging", "tls12", "ring"] }
|
|
|
|
|
2023-10-21 14:03:01 +00:00
|
|
|
tracing = { version = "0.1.40", features = ["log"] }
|
2023-11-26 15:24:24 +00:00
|
|
|
tracing-subscriber = { version = "0.3.18", features = ["env-filter", "fmt", "local-time"] }
|
2024-06-24 18:06:38 +00:00
|
|
|
url = "2.5.2"
|
2023-12-04 17:21:55 +00:00
|
|
|
urlencoding = "2.1.3"
|
2024-06-24 18:06:38 +00:00
|
|
|
uuid = { version = "1.9.0", features = ["v7", "serde"] }
|
2023-10-23 17:11:12 +00:00
|
|
|
|
2023-12-13 21:27:42 +00:00
|
|
|
[target.'cfg(not(target_family = "unix"))'.dependencies]
|
|
|
|
crossterm = { version = "0.27.0" }
|
2024-05-09 11:33:23 +00:00
|
|
|
tokio-util = { version = "0.7.11", features = ["io"] }
|
2023-12-13 21:27:42 +00:00
|
|
|
|
2023-10-15 19:02:54 +00:00
|
|
|
[target.'cfg(target_family = "unix")'.dependencies]
|
|
|
|
tokio-fd = "0.3.0"
|
2023-10-01 15:16:23 +00:00
|
|
|
|
2023-10-27 19:02:12 +00:00
|
|
|
[dev-dependencies]
|
2024-06-07 20:17:47 +00:00
|
|
|
testcontainers = "0.17.0"
|
2023-10-27 19:02:12 +00:00
|
|
|
|
2023-10-01 15:16:23 +00:00
|
|
|
[profile.release]
|
|
|
|
lto = "fat"
|
|
|
|
panic = "abort"
|
|
|
|
codegen-units = 1
|
|
|
|
opt-level = 3
|
2024-01-25 18:18:41 +00:00
|
|
|
debug = 0
|
|
|
|
strip = "symbols"
|
2024-01-27 12:24:02 +00:00
|
|
|
|
|
|
|
[profile.release-with-symbols]
|
|
|
|
inherits = "release"
|
|
|
|
strip = false
|