[workspace] resolver = "3" members = [ "crates/*", "apps/gpclient", "apps/gpservice", "apps/gpauth", "apps/gpgui-helper/src-tauri", ] [workspace.package] rust-version = "1.91" version = "3.5.0" 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" directories = "6.0" dns-lookup = "4.0.2" env_logger = "0.11" is_executable = "1.0" log = "0.4" # RUST_LOG accepts user-supplied Unicode property filters through env_logger. regex = { version = "1", default-features = false, features = ["std", "perf", "unicode"] } reqwest = { version = "0.13", default-features = false, features = ["rustls-no-provider", "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" tokio-tungstenite = "0.30" 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" compile-time = "0.4" serde_urlencoded = "0.7" md5 = "0.8" sha2 = { version = "0.11", default-features = false } which = "8" uuid = "1" netdev = "0.47" 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 and apply fixed-size windows before first configure. tao = { git = "https://github.com/yuezk/tao", rev = "bba0f1c4e86d697b173c75280d1651f408b8023c" } # Use one macro source for Tao and Wry so Cargo can vendor the workspace. tao-macros = { git = "https://github.com/yuezk/tao", rev = "bba0f1c4e86d697b173c75280d1651f408b8023c" } [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*