2021-12-04 14:31:26 +08:00
|
|
|
[package]
|
2022-01-31 23:27:11 +08:00
|
|
|
name = "clash-verge"
|
2024-02-24 14:00:01 +08:00
|
|
|
version = "1.5.4"
|
2021-12-04 14:31:26 +08:00
|
|
|
description = "clash verge"
|
2023-12-10 21:10:15 +08:00
|
|
|
authors = ["zzzgydi", "wonfen", "MystiPanda"]
|
2024-02-02 16:56:39 +08:00
|
|
|
license = "GPL-3.0-only"
|
2023-12-02 23:04:04 +08:00
|
|
|
repository = "https://github.com/clash-verge-rev/clash-verge-rev.git"
|
2022-01-31 23:27:11 +08:00
|
|
|
default-run = "clash-verge"
|
2021-12-04 14:31:26 +08:00
|
|
|
edition = "2021"
|
2021-12-14 18:39:37 +08:00
|
|
|
build = "build.rs"
|
2021-12-04 14:31:26 +08:00
|
|
|
|
|
|
|
[build-dependencies]
|
2022-09-20 21:26:38 +08:00
|
|
|
tauri-build = { version = "1", features = [] }
|
2021-12-04 14:31:26 +08:00
|
|
|
|
|
|
|
[dependencies]
|
2022-05-16 17:54:21 +08:00
|
|
|
warp = "0.3"
|
2024-02-02 16:56:39 +08:00
|
|
|
which = "6.0.0"
|
2022-02-28 01:34:25 +08:00
|
|
|
anyhow = "1.0"
|
2023-12-02 22:36:04 +08:00
|
|
|
dirs = "5.0"
|
|
|
|
open = "5.0"
|
|
|
|
log = "0.4"
|
|
|
|
ctrlc = "3.4"
|
|
|
|
dunce = "1.0"
|
|
|
|
log4rs = "1"
|
|
|
|
nanoid = "0.4"
|
|
|
|
chrono = "0.4"
|
2024-01-09 14:52:43 +08:00
|
|
|
sysinfo = "0.30"
|
2023-12-10 21:10:15 +08:00
|
|
|
rquickjs = "0.3" # 高版本不支持 Linux aarch64
|
2021-12-04 14:31:26 +08:00
|
|
|
serde_json = "1.0"
|
2022-09-20 21:26:38 +08:00
|
|
|
serde_yaml = "0.9"
|
2023-12-02 22:36:04 +08:00
|
|
|
once_cell = "1.18"
|
2022-05-16 17:54:21 +08:00
|
|
|
port_scanner = "0.1.5"
|
2024-01-09 14:52:43 +08:00
|
|
|
delay_timer = "0.11.5"
|
2023-12-02 22:36:04 +08:00
|
|
|
parking_lot = "0.12"
|
2023-12-07 14:44:44 +08:00
|
|
|
percent-encoding = "2.3.1"
|
|
|
|
window-shadows = { version = "0.2" }
|
2022-05-16 17:54:21 +08:00
|
|
|
tokio = { version = "1", features = ["full"] }
|
2021-12-04 14:31:26 +08:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
2023-12-14 12:50:45 +08:00
|
|
|
reqwest = { version = "0.11", features = ["json", "rustls-tls"] }
|
2024-01-20 12:16:46 +08:00
|
|
|
sysproxy = { git="https://github.com/zzzgydi/sysproxy-rs", branch = "main" }
|
2024-02-20 18:35:39 +08:00
|
|
|
auto-launch = { git="https://github.com/zzzgydi/auto-launch", branch = "main" }
|
2024-02-24 11:25:22 +08:00
|
|
|
tauri = { version = "1.5", features = [ "path-all", "protocol-asset", "dialog-open", "notification-all", "icon-png", "clipboard-all", "global-shortcut-all", "process-all", "shell-all", "system-tray", "updater", "window-all"] }
|
2021-12-04 14:31:26 +08:00
|
|
|
|
2021-12-06 10:31:17 +08:00
|
|
|
[target.'cfg(windows)'.dependencies]
|
2023-12-10 21:10:15 +08:00
|
|
|
runas = "=1.0.0" # 高版本会返回错误 Status
|
2022-04-23 17:26:32 +08:00
|
|
|
deelevate = "0.2.0"
|
2024-01-09 21:57:06 +08:00
|
|
|
winreg = "0.52.0"
|
2023-05-28 16:45:43 +08:00
|
|
|
|
2023-12-07 14:44:44 +08:00
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
|
|
#openssl
|
2021-12-06 10:31:17 +08:00
|
|
|
|
2021-12-04 14:31:26 +08:00
|
|
|
[features]
|
2022-06-17 01:16:46 +08:00
|
|
|
default = ["custom-protocol"]
|
2022-04-19 01:41:20 +08:00
|
|
|
custom-protocol = ["tauri/custom-protocol"]
|
2023-12-07 15:57:53 +08:00
|
|
|
verge-dev = []
|
2022-03-27 01:38:40 +08:00
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
panic = "abort"
|
|
|
|
codegen-units = 1
|
|
|
|
lto = true
|
|
|
|
opt-level = "s"
|