mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-11-11 21:12:09 +08:00
- Drop tauri-plugin-process: no frontend or Rust consumer; exit and restart already go through the exit_app/restart_app commands backed by AppHandle::exit/restart. Remove the registration and the unused process:allow-exit capability. - Replace the glob dev dependency with Node's built-in fs.globSync in prebuild's service permission step (Node baseline is 26.13.0). - Remove unused direct Cargo declarations: bitflags and regex (source and workspace entries), and src-tauri's criterion dev-dependency; clash-verge-draft keeps criterion for its bench. - Narrow sysinfo to the network/system features actually consumed. - Use futures::StreamExt for DelayQueue in the timer and drop the tokio-stream direct declaration (still transitively present via clash-verge-service-ipc).
25 lines
721 B
TOML
25 lines
721 B
TOML
[package]
|
|
name = "tauri-plugin-clash-verge-sysinfo"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
rust-version = "1.91"
|
|
|
|
[dependencies]
|
|
specta = { version = "=2.0.0-rc.26", features = ["derive", "function"] }
|
|
tauri = { workspace = true }
|
|
tauri-plugin-clipboard-manager = { workspace = true }
|
|
parking_lot = { workspace = true }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
# sysinfo 0.38.2 conflicts with dark-light
|
|
# see https://github.com/GuillaumeGomez/sysinfo/issues/1623
|
|
sysinfo = { version = "0.40.1", default-features = false, features = ["network", "system"] }
|
|
|
|
[target.'cfg(not(windows))'.dependencies]
|
|
libc = "0.2.191"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
deelevate = { workspace = true }
|
|
|
|
[lints]
|
|
workspace = true
|