diff --git a/Cargo.toml b/Cargo.toml index 7b00ce902..bd63c8e0c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,7 +26,9 @@ clap = { version = "4.0", features = ["derive"] } ndk-glue = "0.7" [target.'cfg(target_os = "windows")'.dependencies] -windows = { version = "0.54.0", features = [ +# 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", "Win32_Devices_Properties",