diff --git a/.changes/bump-windows-rs.md b/.changes/bump-windows-rs.md new file mode 100644 index 000000000..b268514ec --- /dev/null +++ b/.changes/bump-windows-rs.md @@ -0,0 +1,16 @@ +--- +deep-link: minor +deep-link-js: minor +opener: minor +opener-js: minor +single-instance: patch +updater: patch +updater-js: patch +--- + +Updated `windows-rs` dependencies: + +- deep-link: updated `windows-registry` to 0.6 and `windows-result` to 0.4. The public `Error::Windows` variant wraps `windows_result::Error`; applications using this type directly should update their `windows-result` dependency. +- opener: updated `windows` to 0.62. The public `Error::Win32Error` variant wraps `windows::core::Error`; applications using this type directly should update their `windows` dependency. +- single-instance: updated `windows-sys` to 0.61 +- updater: updated `windows-sys` to 0.61 diff --git a/Cargo.lock b/Cargo.lock index 2a8a0740b..d8e13a9c9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2856,7 +2856,7 @@ dependencies = [ "tokio", "tower-service", "tracing", - "windows-registry", + "windows-registry 0.5.1", ] [[package]] @@ -6772,8 +6772,8 @@ dependencies = [ "thiserror 2.0.12", "tracing", "url", - "windows-registry", - "windows-result 0.3.2", + "windows-registry 0.6.1", + "windows-result 0.4.1", ] [[package]] @@ -6957,7 +6957,7 @@ dependencies = [ "tauri-plugin", "thiserror 2.0.12", "url", - "windows 0.61.1", + "windows 0.62.2", "zbus", ] @@ -7043,7 +7043,7 @@ dependencies = [ "thiserror 2.0.12", "tokio", "tracing", - "windows-sys 0.60.2", + "windows-sys 0.61.2", "zbus", ] @@ -7128,7 +7128,7 @@ dependencies = [ "time", "tokio", "url", - "windows-sys 0.60.2", + "windows-sys 0.61.2", "zip 4.0.0", ] @@ -8643,6 +8643,17 @@ dependencies = [ "windows-strings 0.4.0", ] +[[package]] +name = "windows-registry" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "02752bf7fbdcce7f2a27a742f798510f3e5ad88dbe84871e5168e2120c3d5720" +dependencies = [ + "windows-link 0.2.1", + "windows-result 0.4.1", + "windows-strings 0.5.1", +] + [[package]] name = "windows-result" version = "0.3.2" diff --git a/plugins/deep-link/Cargo.toml b/plugins/deep-link/Cargo.toml index 11f92673c..29edcd151 100644 --- a/plugins/deep-link/Cargo.toml +++ b/plugins/deep-link/Cargo.toml @@ -47,8 +47,8 @@ url = { workspace = true } [target."cfg(windows)".dependencies] dunce = "1" -windows-registry = "0.5" -windows-result = "0.3" +windows-registry = "0.6" +windows-result = "0.4" [target."cfg(target_os = \"linux\")".dependencies] rust-ini = "0.21" diff --git a/plugins/opener/Cargo.toml b/plugins/opener/Cargo.toml index 9a6346419..a8e639c6e 100644 --- a/plugins/opener/Cargo.toml +++ b/plugins/opener/Cargo.toml @@ -40,7 +40,7 @@ glob = { workspace = true } dunce = { workspace = true } [target."cfg(windows)".dependencies.windows] -version = "0.61" +version = "0.62" features = [ "Win32_Foundation", "Win32_UI_Shell_Common", diff --git a/plugins/single-instance/Cargo.toml b/plugins/single-instance/Cargo.toml index d58fad59b..b614d22ce 100644 --- a/plugins/single-instance/Cargo.toml +++ b/plugins/single-instance/Cargo.toml @@ -27,7 +27,7 @@ semver = { version = "1", optional = true } tokio = { version = "1", features = ["net"] } [target."cfg(target_os = \"windows\")".dependencies.windows-sys] -version = "0.60" +version = "0.61" features = [ "Win32_System_Threading", "Win32_System_DataExchange", diff --git a/plugins/updater/Cargo.toml b/plugins/updater/Cargo.toml index e9272eb96..b48489ea1 100644 --- a/plugins/updater/Cargo.toml +++ b/plugins/updater/Cargo.toml @@ -61,7 +61,7 @@ percent-encoding = "2.3" [target."cfg(target_os = \"windows\")".dependencies] zip = { version = "4", default-features = false, optional = true } -windows-sys = { version = "0.60.0", features = [ +windows-sys = { version = "0.61.0", features = [ "Win32_Foundation", "Win32_UI_WindowsAndMessaging", "Win32_UI_Shell",