clash-verge/src-tauri/Cargo.toml

70 lines
1.9 KiB
TOML
Raw Permalink Normal View History

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