From bf9455c32bb890716153d58334dd6f555ed1cb72 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Wed, 31 Jul 2024 11:24:55 +0200 Subject: [PATCH] Adopt windows version range >=0.54, <=0.57 Co-authored-by: BD103 <59022059+BD103@users.noreply.github.com> Co-authored-by: Carter Anderson --- Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index ff4c014d6..b34de0996 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -97,7 +97,9 @@ serde = { version = "^1.0.190", optional = true } [target.'cfg(windows)'.dependencies] ntapi = { version = "0.4", optional = true } -windows = { version = "0.56", optional = true } +# 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", optional = true } [target.'cfg(any(windows, target_os = "linux", target_os = "android"))'.dependencies] bstr = "1.9.0"