From 5873fbb9de41fca2104cc914b3aafc2c1297b4d3 Mon Sep 17 00:00:00 2001 From: Kagami Sascha Rosylight Date: Mon, 13 May 2024 23:44:15 +0200 Subject: [PATCH] chore(rust): upgrade to windows-rs@0.56.0 --- rust/Cargo.lock | 21 +++++++++++---------- rust/composition_processor/Cargo.toml | 2 +- rust/globals/Cargo.toml | 2 +- rust/ime/Cargo.toml | 2 +- rust/input_processor/Cargo.toml | 2 +- rust/itf_components/Cargo.toml | 3 ++- rust/numberkey_windows/Cargo.toml | 2 +- 7 files changed, 18 insertions(+), 16 deletions(-) diff --git a/rust/Cargo.lock b/rust/Cargo.lock index cf66212..6497711 100644 --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -56,6 +56,7 @@ dependencies = [ "ime", "ruststringrange", "windows", + "windows-core", ] [[package]] @@ -128,31 +129,31 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "windows" -version = "0.54.0" +version = "0.56.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9252e5725dbed82865af151df558e754e4a3c2c30818359eb17465f1346a1b49" +checksum = "1de69df01bdf1ead2f4ac895dc77c9351aefff65b2f3db429a343f9cbf05e132" dependencies = [ "windows-core", - "windows-implement", - "windows-interface", "windows-targets", ] [[package]] name = "windows-core" -version = "0.54.0" +version = "0.56.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12661b9c89351d684a50a8a643ce5f608e20243b9fb84687800163429f161d65" +checksum = "4698e52ed2d08f8658ab0c39512a7c00ee5fe2688c65f8c0a4f06750d729f2a6" dependencies = [ + "windows-implement", + "windows-interface", "windows-result", "windows-targets", ] [[package]] name = "windows-implement" -version = "0.53.0" +version = "0.56.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "942ac266be9249c84ca862f0a164a39533dc2f6f33dc98ec89c8da99b82ea0bd" +checksum = "f6fc35f58ecd95a9b71c4f2329b911016e6bec66b3f2e6a4aad86bd2e99e2f9b" dependencies = [ "proc-macro2", "quote", @@ -161,9 +162,9 @@ dependencies = [ [[package]] name = "windows-interface" -version = "0.53.0" +version = "0.56.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da33557140a288fae4e1d5f8873aaf9eb6613a9cf82c3e070223ff177f598b60" +checksum = "08990546bf4edef8f431fa6326e032865f27138718c587dc21bc0265bbcb57cc" dependencies = [ "proc-macro2", "quote", diff --git a/rust/composition_processor/Cargo.toml b/rust/composition_processor/Cargo.toml index 2198fb4..3cd9ebc 100644 --- a/rust/composition_processor/Cargo.toml +++ b/rust/composition_processor/Cargo.toml @@ -19,7 +19,7 @@ globals = { path = "../globals" } itf_components = { path = "../itf_components" } [dependencies.windows] -version = "0.54.0" +version = "0.56.0" features = [ "Win32_Foundation", "Win32_System_LibraryLoader", diff --git a/rust/globals/Cargo.toml b/rust/globals/Cargo.toml index e0b1a7a..8439624 100644 --- a/rust/globals/Cargo.toml +++ b/rust/globals/Cargo.toml @@ -11,4 +11,4 @@ name = "globals" crate-type = ["rlib", "staticlib"] [dependencies] -windows = "0.54.0" +windows = "0.56.0" diff --git a/rust/ime/Cargo.toml b/rust/ime/Cargo.toml index ac37818..79b1abe 100644 --- a/rust/ime/Cargo.toml +++ b/rust/ime/Cargo.toml @@ -14,7 +14,7 @@ globals = { path = "../globals" } winreg = "0.10.1" [dependencies.windows] -version = "0.54.0" +version = "0.56.0" features = [ "Win32_Graphics_Gdi", "Win32_System_Com", diff --git a/rust/input_processor/Cargo.toml b/rust/input_processor/Cargo.toml index 690d451..25089a0 100644 --- a/rust/input_processor/Cargo.toml +++ b/rust/input_processor/Cargo.toml @@ -15,7 +15,7 @@ globals = { path = "../globals" } itf_components = { path = "../itf_components" } [dependencies.windows] -version = "0.54.0" +version = "0.56.0" features = [ "Win32_UI_TextServices", ] diff --git a/rust/itf_components/Cargo.toml b/rust/itf_components/Cargo.toml index 1326bb3..e22083c 100644 --- a/rust/itf_components/Cargo.toml +++ b/rust/itf_components/Cargo.toml @@ -13,9 +13,10 @@ crate-type = ["rlib", "staticlib"] ime = { path = "../ime" } globals = { path = "../globals" } ruststringrange = { path = "../ruststringrange" } +windows-core = "0.56.0" [dependencies.windows] -version = "0.54.0" +version = "0.56.0" features = [ "implement", "Win32_Foundation", diff --git a/rust/numberkey_windows/Cargo.toml b/rust/numberkey_windows/Cargo.toml index f0067c5..0136d1d 100644 --- a/rust/numberkey_windows/Cargo.toml +++ b/rust/numberkey_windows/Cargo.toml @@ -12,7 +12,7 @@ crate-type = ["rlib", "staticlib"] [dependencies] [dependencies.windows] -version = "0.54.0" +version = "0.56.0" features = [ "Win32_UI_Input_KeyboardAndMouse", ]