[package] name = "clash-verge" version = "2.4.8" description = "clash verge" authors = ["zzzgydi", "Tunglies", "wonfen", "MystiPanda"] license = "GPL-3.0-only" repository = "https://github.com/clash-verge-rev/clash-verge-rev.git" default-run = "clash-verge" build = "build.rs" edition = "2024" rust-version = "1.91" [lib] name = "app_lib" crate-type = ["staticlib", "cdylib", "rlib"] [features] default = ["custom-protocol"] custom-protocol = ["tauri/custom-protocol"] verge-dev = ["clash_verge_logger/color"] tauri-dev = [] tokio-trace = ["console-subscriber"] clippy = ["tauri/test"] tracing = [] [package.metadata.bundle] identifier = "io.github.clash-verge-rev.clash-verge-rev" [build-dependencies] tauri-build = { version = "2.5.6", features = [] } [dependencies] clash-verge-draft = { workspace = true } clash-verge-logging = { workspace = true } clash-verge-signal = { workspace = true } clash-verge-i18n = { workspace = true } clash-verge-limiter = { workspace = true } tauri-plugin-clash-verge-sysinfo = { workspace = true } tauri-plugin-clipboard-manager = { workspace = true } tauri = { workspace = true, features = [ "protocol-asset", "devtools", "tray-icon", "image-ico", "image-png", ] } parking_lot = { workspace = true } anyhow = { workspace = true } tokio = { workspace = true } compact_str = { workspace = true } flexi_logger = { workspace = true } log = { workspace = true } serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true } serde_yaml_ng = { workspace = true } smartstring = { workspace = true, features = ["serde"] } bitflags = { workspace = true } warp = { version = "0.4.2", features = ["server"] } open = "5.3.3" dunce = "1.0.5" nanoid = "0.4" chrono = "0.4.44" boa_engine = "0.21.0" once_cell = { version = "1.21.4", features = ["parking_lot"] } delay_timer = "0.11.6" percent-encoding = "2.3.2" reqwest = { version = "0.13.2", features = [ "json", "cookies", "rustls", "form", ] } regex = "1.12.3" sysproxy = { git = "https://github.com/clash-verge-rev/sysproxy-rs", branch = "0.5.3", features = [ "guard", ] } network-interface = { version = "2.0.5", features = ["serde"] } tauri-plugin-shell = "2.3.5" tauri-plugin-dialog = "2.6.0" tauri-plugin-fs = "2.4.5" tauri-plugin-process = "2.3.1" tauri-plugin-deep-link = "2.4.7" tauri-plugin-window-state = "2.4.1" zip = "8.3.1" reqwest_dav = "0.3.3" aes-gcm = { version = "0.10.3", features = ["std"] } base64 = "0.22.1" getrandom = "0.4.2" futures = "0.3.32" gethostname = "1.1.0" scopeguard = "1.2.0" tauri-plugin-notification = "2.3.3" tokio-stream = "0.1.18" backon = { version = "1.6.0", features = ["tokio-sleep"] } tauri-plugin-http = "2.5.7" console-subscriber = { version = "0.5.0", optional = true } tauri-plugin-devtools = { version = "2.0.1" } tauri-plugin-mihomo = { git = "https://github.com/clash-verge-rev/tauri-plugin-mihomo", branch = "revert" } clash_verge_logger = { git = "https://github.com/clash-verge-rev/clash-verge-logger" } async-trait = "0.1.89" clash_verge_service_ipc = { version = "2.2.0", features = [ "client", ], git = "https://github.com/clash-verge-rev/clash-verge-service-ipc" } arc-swap = "1.9.0" tokio-rustls = "0.26" rustls = { version = "0.23", features = ["ring"] } webpki-roots = "1.0" rust_iso3166 = "0.1.14" # Use the git repo until the next release after v2.0.0. dark-light = { git = "https://github.com/rust-dark-light/dark-light" } bytes = "1.11.1" [target.'cfg(target_os = "macos")'.dependencies] objc2 = "0.6" objc2-foundation = { version = "0.3", features = [ "NSString", "NSDictionary", "NSAttributedString", ] } objc2-app-kit = { version = "0.3", features = [ "NSAttributedString", "NSStatusItem", "NSStatusBarButton", "NSButton", "NSControl", "NSResponder", "NSView", "NSFont", "NSFontDescriptor", "NSColor", "NSParagraphStyle", "NSText", ] } [target.'cfg(windows)'.dependencies] deelevate = { workspace = true } runas = "=1.2.0" winreg = "0.56.0" windows = { version = "0.62.2", features = ["Win32_Globalization"] } [target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies] tauri-plugin-autostart = "2.5.1" tauri-plugin-global-shortcut = "2.3.1" tauri-plugin-updater = "2.10.0" [dev-dependencies] criterion = { workspace = true } [lints] workspace = true