mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-10-31 03:02:08 +08:00
fix: scope windows-sys dependency to Windows
This commit is contained in:
@@ -105,7 +105,6 @@ webpki-roots = "1.0.9"
|
||||
rust_iso3166 = "0.2.0"
|
||||
# Use the git repo until the next release after v2.0.0.
|
||||
dark-light = { git = "https://github.com/rust-dark-light/dark-light" }
|
||||
windows-sys.workspace = true
|
||||
bytes = "1.12.1"
|
||||
tokio-util = { version = "0.7.19", features = ["time"] }
|
||||
|
||||
@@ -141,6 +140,7 @@ runas = "=1.2.0"
|
||||
winreg = "0.56.0"
|
||||
windows-service = "0.8.1"
|
||||
windows = { version = "0.62.2", features = ["Win32_Globalization"] }
|
||||
windows-sys.workspace = true
|
||||
|
||||
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
|
||||
tauri-plugin-autostart = "2.5.1"
|
||||
|
||||
Reference in New Issue
Block a user