From 0212ef8a5060f3dc7ebf4bf8b07a47eca459865b Mon Sep 17 00:00:00 2001 From: Carter Anderson Date: Wed, 26 Jun 2024 21:01:03 -0700 Subject: [PATCH 1/2] Adopt windows version range >=0.54, <=0.57 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 7b00ce902..06ae1791b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,7 +26,7 @@ clap = { version = "4.0", features = ["derive"] } ndk-glue = "0.7" [target.'cfg(target_os = "windows")'.dependencies] -windows = { version = "0.54.0", features = [ +windows = { version = ">=0.54, <=0.57.0", features = [ "Win32_Media_Audio", "Win32_Foundation", "Win32_Devices_Properties", From 5cb615936c4e2c2bd22eed5ea79c99d8c4eae3a2 Mon Sep 17 00:00:00 2001 From: Carter Anderson Date: Thu, 15 Aug 2024 12:24:56 -0700 Subject: [PATCH 2/2] Update Cargo.toml Co-authored-by: BD103 <59022059+BD103@users.noreply.github.com> --- Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 06ae1791b..bd63c8e0c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,6 +26,8 @@ clap = { version = "4.0", features = ["derive"] } ndk-glue = "0.7" [target.'cfg(target_os = "windows")'.dependencies] +# Support a range of versions in order to avoid duplication of this crate. Make sure to test all +# versions when bumping to a new release, and only increase the minimum when absolutely necessary. windows = { version = ">=0.54, <=0.57.0", features = [ "Win32_Media_Audio", "Win32_Foundation",