Files
IndPjsk/core_vpn/Cargo.toml
T
2026-10-24 14:48:59 +08:00

37 lines
784 B
TOML

[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