2021-12-04 14:31:26 +08:00
|
|
|
[package]
|
2022-01-31 23:27:11 +08:00
|
|
|
name = "clash-verge"
|
2024-09-03 00:00:12 +08:00
|
|
|
version = "2.0.0"
|
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]
|
2024-09-04 05:57:37 +08:00
|
|
|
tauri-build = { version = "2.0.0-rc", features = [] }
|
2021-12-04 14:31:26 +08:00
|
|
|
|
|
|
|
[dependencies]
|
2022-05-16 17:54:21 +08:00
|
|
|
warp = "0.3"
|
2022-02-28 01:34:25 +08:00
|
|
|
anyhow = "1.0"
|
2023-12-02 22:36:04 +08:00
|
|
|
dirs = "5.0"
|
2024-06-01 23:01:27 +08:00
|
|
|
open = "5.1"
|
2023-12-02 22:36:04 +08:00
|
|
|
log = "0.4"
|
|
|
|
dunce = "1.0"
|
|
|
|
log4rs = "1"
|
|
|
|
nanoid = "0.4"
|
|
|
|
chrono = "0.4"
|
2024-01-09 14:52:43 +08:00
|
|
|
sysinfo = "0.30"
|
2024-03-15 21:14:05 +08:00
|
|
|
boa_engine = "0.18"
|
2021-12-04 14:31:26 +08:00
|
|
|
serde_json = "1.0"
|
2022-09-20 21:26:38 +08:00
|
|
|
serde_yaml = "0.9"
|
2024-06-01 23:01:27 +08:00
|
|
|
once_cell = "1.19"
|
2022-05-16 17:54:21 +08:00
|
|
|
port_scanner = "0.1.5"
|
2024-06-01 23:01:27 +08:00
|
|
|
delay_timer = "0.11"
|
2023-12-02 22:36:04 +08:00
|
|
|
parking_lot = "0.12"
|
2024-06-14 21:26:30 +08:00
|
|
|
auto-launch = "0.5.0"
|
2023-12-07 14:44:44 +08:00
|
|
|
percent-encoding = "2.3.1"
|
2024-09-02 19:33:17 +08:00
|
|
|
window-shadows = { version = "0.2.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"] }
|
2024-06-29 19:02:37 +08:00
|
|
|
reqwest = { version = "0.12", features = ["json", "rustls-tls"] }
|
2024-09-04 05:57:37 +08:00
|
|
|
sysproxy = { git = "https://github.com/zzzgydi/sysproxy-rs", branch = "main" }
|
|
|
|
tauri = { version = "2.0.0-rc", features = [
|
|
|
|
"protocol-asset",
|
|
|
|
"devtools",
|
|
|
|
"tray-icon",
|
|
|
|
"image-ico",
|
|
|
|
"image-png",
|
|
|
|
] }
|
2024-07-13 14:10:50 +08:00
|
|
|
network-interface = { version = "2.0.0", features = ["serde"] }
|
2024-09-02 19:33:17 +08:00
|
|
|
tauri-plugin-shell = "2.0.0-rc"
|
|
|
|
tauri-plugin-dialog = "2.0.0-rc"
|
|
|
|
tauri-plugin-fs = "2.0.0-rc"
|
|
|
|
tauri-plugin-notification = "2.0.0-rc"
|
|
|
|
tauri-plugin-process = "2.0.0-rc"
|
|
|
|
tauri-plugin-clipboard-manager = "2.1.0-beta.7"
|
2024-09-04 08:54:15 +08:00
|
|
|
tauri-plugin-devtools = "2.0.0-rc"
|
2021-12-06 10:31:17 +08:00
|
|
|
[target.'cfg(windows)'.dependencies]
|
2024-03-15 21:14:05 +08:00
|
|
|
runas = "=1.2.0"
|
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]
|
2024-03-31 16:16:23 +08:00
|
|
|
users = "0.11.0"
|
2024-09-02 19:33:17 +08:00
|
|
|
|
|
|
|
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
|
|
|
|
tauri-plugin-global-shortcut = "2.0.0-rc"
|
|
|
|
tauri-plugin-updater = "2.0.0-rc"
|
2023-12-07 14:44:44 +08:00
|
|
|
#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"
|
2024-09-04 05:57:37 +08:00
|
|
|
strip = true
|
|
|
|
|
|
|
|
[profile.dev]
|
|
|
|
incremental = true
|