2021-12-04 14:31:26 +08:00
|
|
|
[package]
|
2022-01-31 23:27:11 +08:00
|
|
|
name = "clash-verge"
|
2021-12-04 14:31:26 +08:00
|
|
|
version = "0.1.0"
|
|
|
|
description = "clash verge"
|
|
|
|
authors = ["zzzgydi"]
|
2021-12-22 01:12:32 +08:00
|
|
|
license = "GPL-3.0"
|
2022-01-08 22:23:48 +08:00
|
|
|
repository = "https://github.com/zzzgydi/clash-verge.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"
|
|
|
|
which = "4.2.2"
|
2022-02-28 01:34:25 +08:00
|
|
|
anyhow = "1.0"
|
2023-04-02 10:09:14 +08:00
|
|
|
dirs = "5.0.0"
|
|
|
|
open = "4.0.1"
|
2022-05-16 17:54:21 +08:00
|
|
|
log = "0.4.14"
|
2022-09-09 16:42:35 +08:00
|
|
|
ctrlc = "3.2.3"
|
2022-02-21 22:33:37 +08:00
|
|
|
dunce = "1.0.2"
|
2022-05-16 17:54:21 +08:00
|
|
|
log4rs = "1.0.0"
|
2022-03-02 00:56:05 +08:00
|
|
|
nanoid = "0.4.0"
|
2021-12-19 17:50:25 +08:00
|
|
|
chrono = "0.4.19"
|
2023-05-28 16:45:43 +08:00
|
|
|
sysinfo = "0.29"
|
2023-03-16 13:42:27 +08:00
|
|
|
sysproxy = "0.3"
|
2022-11-23 17:30:19 +08:00
|
|
|
rquickjs = "0.1.7"
|
2021-12-04 14:31:26 +08:00
|
|
|
serde_json = "1.0"
|
2022-09-20 21:26:38 +08:00
|
|
|
serde_yaml = "0.9"
|
2022-09-11 20:58:55 +08:00
|
|
|
auto-launch = "0.4"
|
|
|
|
once_cell = "1.14.0"
|
2022-05-16 17:54:21 +08:00
|
|
|
port_scanner = "0.1.5"
|
2022-04-19 01:41:20 +08:00
|
|
|
delay_timer = "0.11.1"
|
2022-04-19 14:38:59 +08:00
|
|
|
parking_lot = "0.12.0"
|
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-05-05 12:08:08 +08:00
|
|
|
reqwest = { version = "0.11", features = ["json","rustls-tls"] }
|
2023-05-28 16:45:43 +08:00
|
|
|
tauri = { version = "1.2.4", features = ["global-shortcut-all", "process-all", "shell-all", "system-tray", "updater", "window-all"] }
|
2022-09-20 21:26:38 +08:00
|
|
|
window-vibrancy = { version = "0.3.0" }
|
2022-11-23 17:30:19 +08:00
|
|
|
window-shadows = { version = "0.2.0" }
|
2023-05-28 16:45:43 +08:00
|
|
|
wry = { version = "0.24.3" }
|
|
|
|
|
2021-12-04 14:31:26 +08:00
|
|
|
|
2021-12-06 10:31:17 +08:00
|
|
|
[target.'cfg(windows)'.dependencies]
|
2023-05-28 16:45:43 +08:00
|
|
|
runas = "1.1.0"
|
2022-04-23 17:26:32 +08:00
|
|
|
deelevate = "0.2.0"
|
2023-05-28 16:45:43 +08:00
|
|
|
winreg = { version = "0.50", features = ["transactions"] }
|
|
|
|
windows-sys = { version = "0.48", features = ["Win32_System_LibraryLoader", "Win32_System_SystemInformation"] }
|
|
|
|
|
|
|
|
[target.'cfg(windows)'.dependencies.tauri]
|
|
|
|
features = ["global-shortcut-all", "icon-png", "process-all", "shell-all", "system-tray", "updater", "window-all"]
|
|
|
|
|
|
|
|
[target.'cfg(linux)'.dependencies.tauri]
|
|
|
|
features = ["global-shortcut-all", "icon-png", "process-all", "shell-all", "system-tray", "updater", "window-all", "native-tls-vendored", "reqwest-native-tls-vendored"]
|
|
|
|
|
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"]
|
2022-03-18 10:59:35 +08:00
|
|
|
verge-dev = []
|
2022-11-24 10:26:41 +08:00
|
|
|
default-meta = []
|
2022-03-27 01:38:40 +08:00
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
panic = "abort"
|
|
|
|
codegen-units = 1
|
|
|
|
lto = true
|
|
|
|
opt-level = "s"
|