2023-09-14 20:47:02 +00:00
|
|
|
[package]
|
|
|
|
name = "wstunnel"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
clap = { version = "4.4.5", features = ["derive"]}
|
|
|
|
url = "2.4.1"
|
2023-10-01 15:16:23 +00:00
|
|
|
anyhow = "1.0.75"
|
2023-09-14 20:47:02 +00:00
|
|
|
|
2023-10-01 15:16:23 +00:00
|
|
|
hyper = { version = "0.14.27", features = ["client", "runtime"] }
|
|
|
|
#fastwebsockets = { version = "0.4.4", features = ["upgrade"]}
|
|
|
|
fastwebsockets = { git = "https://github.com/mmastrac/fastwebsockets", branch = "split", features = ["upgrade", "simd"]}
|
|
|
|
libc = { version = "0.2.148", features = []}
|
|
|
|
once_cell = { version = "1.18.0", features = [] }
|
|
|
|
ahash = { version = "0.8.3", features = []}
|
|
|
|
pin-project = "1"
|
|
|
|
scopeguard = "1.2.0"
|
|
|
|
uuid = { version = "1.4.1", features = ["v7", "serde"] }
|
2023-10-16 17:26:32 +00:00
|
|
|
jsonwebtoken = { version = "9.0.0", default-features = false }
|
2023-10-01 15:16:23 +00:00
|
|
|
rustls-pemfile = { version = "1.0.3", features = [] }
|
2023-09-14 20:47:02 +00:00
|
|
|
|
2023-10-01 15:16:23 +00:00
|
|
|
rustls-native-certs = { version = "0.6.3", features = [] }
|
2023-09-14 20:47:02 +00:00
|
|
|
tokio = { version = "1.32.0", features = ["full"] }
|
2023-10-01 15:16:23 +00:00
|
|
|
tokio-rustls = { version = "0.24.1", features = ["tls12", "dangerous_configuration", "early-data"] }
|
|
|
|
tokio-stream = { version = "0.1.14", features = ["net"] }
|
2023-10-16 17:26:32 +00:00
|
|
|
fast-socks5 = { version = "0.9.1", features = [] }
|
2023-10-01 15:16:23 +00:00
|
|
|
futures-util = { version = "0.3.28" }
|
2023-09-14 20:47:02 +00:00
|
|
|
|
|
|
|
tracing = { version = "0.1.37", features = ["log"] }
|
|
|
|
tracing-subscriber = { version = "0.3.17", features = ["env-filter", "fmt", "local-time"] }
|
2023-10-01 15:16:23 +00:00
|
|
|
base64 = "0.21.4"
|
|
|
|
serde = { version = "1.0.188", features = ["derive"] }
|
2023-10-16 17:26:32 +00:00
|
|
|
log = "0.4.20"
|
2023-10-01 15:16:23 +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
|
|
|
|
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
lto = "fat"
|
|
|
|
panic = "abort"
|
|
|
|
codegen-units = 1
|
|
|
|
opt-level = 3
|