压缩了rust的依赖

This commit is contained in:
2026-11-04 19:12:16 +08:00
parent f3a7e507d4
commit 114cc5132b
3 changed files with 35 additions and 418 deletions
+4 -6
View File
@@ -9,17 +9,16 @@ crate-type = ["cdylib"]
[dependencies]
ipstack = "1.0.1"
tun-rs = { version = "2.8.13", features = ["async_tokio"] }
tokio = { version = "1.47.5", features = ["full"] }
tokio-rustls = "0.26"
tokio = { version = "1.47.5", features = ["rt-multi-thread", "net", "time", "macros", "sync", "fs"] }
rustls-pemfile = "2"
jni = "0.22.4"
rcgen = { version = "0.14", features = ["x509-parser"] }
rcgen = { version = "0.14", features = ["x509-parser", "ring"] }
anyhow = "1"
bytes = "1"
tokio-util = "0.7.20"
rustls = "0.23.46"
rustls = { version = "0.23", default-features = false, features = ["ring", "std", "tls12"] }
tokio-rustls = { version = "0.26", default-features = false, features = ["ring", "tls12"] }
rustls-native-certs = "0.8.5"
webpki-roots = "1"
regex = "1.13.1"
hyper = { version = "1.0", features = ["server", "client", "http1"] }
hyper-util = { version = "0.1", features = ["tokio", "server", "client"] }
@@ -28,7 +27,6 @@ http = "1.5.0"
qstring = "0.7.2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
url = "2"
base64 = "0.23.1"
[build-dependencies]