Skip to content

Commit

Permalink
cargo: permit windows-sys >=0.52.0 and <=0.59.*
Browse files Browse the repository at this point in the history
This matches a similar change made by @ChrisDenton for winapi-util in:
BurntSushi/winapi-util#19

The benefit is that this should hopefully put less constraints on the
ecosystem and to enable fewer copies of windows-sys to appear in
dependency trees.

I am somewhat miffed that this is necessary. IMO, the windows-sys
maintainers should find a way to make a stable release with infrequent
or ~zero breaking change releases.
  • Loading branch information
BurntSushi committed Aug 18, 2024
1 parent 6dad898 commit 69ecbc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ serde = { version = "1.0.203", optional = true }
jiff-tzdb-platform = { version = "0.1.0", path = "jiff-tzdb-platform", optional = true }

[target.'cfg(windows)'.dependencies.windows-sys]
version = "0.52.0"
version = ">=0.52.0, <=0.59.*"
default-features = false
features = ["Win32_Foundation", "Win32_System_Time"]
optional = true
Expand Down

0 comments on commit 69ecbc2

Please sign in to comment.