mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-19 14:36:15 -05:00
54 lines
1.5 KiB
TOML
54 lines
1.5 KiB
TOML
[package]
|
|
name = "gpservice"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
|
|
[dependencies]
|
|
common = { path = "../../crates/common" }
|
|
gpapi = { path = "../../crates/gpapi", features = ["clap", "logger"] }
|
|
gphip = { path = "../../crates/gphip" }
|
|
gptunnel = { path = "../../crates/gptunnel" }
|
|
base64.workspace = true
|
|
openconnect = { path = "../../crates/openconnect" }
|
|
clap.workspace = true
|
|
anyhow.workspace = true
|
|
tokio = { workspace = true, features = ["rt-multi-thread"] }
|
|
tokio-util.workspace = true
|
|
axum = { workspace = true, features = ["ws"] }
|
|
futures.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
env_logger.workspace = true
|
|
log.workspace = true
|
|
compile-time.workspace = true
|
|
xz2 = "0.1"
|
|
tar = "0.4"
|
|
thiserror.workspace = true
|
|
uuid = { workspace = true, features = ["v4"] }
|
|
zeroize.workspace = true
|
|
tempfile.workspace = true
|
|
getrandom = "0.4"
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
nix = { version = "0.31", features = ["fs", "socket", "user"] }
|
|
|
|
[target.'cfg(any(target_os = "linux", target_os = "freebsd", target_os = "openbsd"))'.dependencies]
|
|
mac_address = "1.2.1"
|
|
|
|
[target.'cfg(unix)'.dev-dependencies]
|
|
mac_address = "1.2.1"
|
|
|
|
[dev-dependencies]
|
|
openssl.workspace = true
|
|
tokio-tungstenite.workspace = true
|
|
|
|
[target.'cfg(any(target_os = "macos", windows))'.dependencies]
|
|
gpvpnc = { path = "../../crates/gpvpnc" }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
file-rotate = "0.8.0"
|
|
windows-service = "0.8.1"
|
|
windows-sys = { version = "0.61", features = ["Win32_System_Pipes"] }
|