From 5590f6ab15b767d4e84ab569d45ce1d611fa0aa7 Mon Sep 17 00:00:00 2001 From: Tunglies <77394545+Tunglies@users.noreply.github.com> Date: Wed, 29 Jul 2026 05:42:40 +0800 Subject: [PATCH] fix: scope windows-sys dependency to Windows --- src-tauri/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 25a8bd175..ff385894b 100755 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -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"