1.0 能用
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
[package]
|
||||
name = "core_vpn"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[lib]
|
||||
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"
|
||||
rustls-pemfile = "2"
|
||||
jni = "0.22.4"
|
||||
rcgen = "0.14"
|
||||
anyhow = "1"
|
||||
bytes = "1"
|
||||
tokio-util = "0.7.20"
|
||||
rustls = "0.23.46"
|
||||
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"] }
|
||||
http-body-util = "0.1"
|
||||
http = "1.5.0"
|
||||
|
||||
[build-dependencies]
|
||||
rcgen = { version = "0.14", features = ["x509-parser"] }
|
||||
|
||||
[profile.release]
|
||||
lto = true
|
||||
opt-level = 'z'
|
||||
codegen-units = 1
|
||||
strip = true
|
||||
Reference in New Issue
Block a user