[workspace] resolver = "2" members = [ "crates/*", "apps/gpclient", "apps/gpservice", "apps/gpauth", "apps/gpgui-helper/src-tauri", ] [workspace.package] rust-version = "1.91" version = "3.0.5" authors = ["Kevin Yue "] homepage = "https://github.com/yuezk/GlobalProtect-openconnect" edition = "2024" license = "GPL-3.0" [workspace.dependencies] anyhow = "1.0" askama = { version = "0.16", default-features = false, features = ["std", "derive", "config"] } base64 = { version = "0.23", default-features = false, features = ["std"] } chrono = "0.4" clap = { version = "4", features = ["derive"] } clap-verbosity-flag = "3" ctrlc = "3.4" directories = "6.0" dns-lookup = "4.0.2" env_logger = "0.11" is_executable = "1.0" log = "0.4" regex = "1" reqwest = { version = "0.13", default-features = false, features = ["native-tls", "charset", "http2", "system-proxy", "json", "form", "query"] } openssl = "0.10" pem = "4" xmltree = { version = "0.12", features = ["attribute-order"] } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" # The 0.39 series requires Rust 1.95, above the workspace minimum. sysinfo = { version = "0.38.4", default-features = false, features = ["system"] } tempfile = "3.8" tokio = { version = "1" } tokio-util = "0.7" url = "2.4" urlencoding = "2.1.3" axum = { version = "0.8", default-features = false, features = ["http1", "tokio"] } futures = { version = "0.3", default-features = false, features = ["std"] } futures-util = "0.3" uzers = "0.12" whoami = "2" thiserror = "2" redact-engine = "0.1" compile-time = "0.4" serde_urlencoded = "0.7" md5 = "0.8" sha256 = { version = "1", default-features = false } which = "8" uuid = "1" netdev = "0.46.3" humantime = "2" snow = { version = "0.10", default-features = false, features = ["use-getrandom", "use-curve25519", "use-chacha20poly1305", "use-sha2"] } zeroize = "1" # Tauri dependencies tauri = { version = "2" } specta = "=2.0.0-rc.20" proptest = "1" [patch.crates-io] # Restore BSD GTK resize hit testing until https://github.com/tauri-apps/tao/pull/1356 is released. tao = { git = "https://github.com/yuezk/tao", rev = "1452ae7a42c9f134296ba199f91f514fc9077f61" } # Use one macro source for Tao and Wry so Cargo can vendor the workspace. tao-macros = { git = "https://github.com/yuezk/tao", rev = "1452ae7a42c9f134296ba199f91f514fc9077f61" } [profile.release] opt-level = 'z' # Optimize for size lto = true # Enable link-time optimization codegen-units = 1 # Reduce number of codegen units to increase optimizations panic = 'abort' # Abort on panic strip = true # Strip symbols from binary*