Skip to content

cargo: Bump windows crate range to 0.53-0.59 #258

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 24, 2025
Merged

cargo: Bump windows crate range to 0.53-0.59 #258

merged 3 commits into from
Jan 24, 2025

Conversation

MarijnS95
Copy link
Member

@MarijnS95 MarijnS95 commented Jan 8, 2025

https://github.com./microsoft/windows-rs/releases/tag/0.61.0 (tag is strangely on a much higher version...)

Note that windows 0.59 bumps the MSRV to 1.74, but we still support this crate dependency all the way back to 0.53.

Note that `windows 0.59` bumps the MSRV to `1.74`, but we still support
this crate dependency all the way back to `0.53`.
@ErichDonGubler
Copy link

Seems like a couple of things are coming up in CI:

  1. A new Clippy warning is firing for a lifetime that can be elided, looks easy.
  2. Looks like the MSRV checks need to have their version updated. I think the MSRV for 0.59 is 1.74, but the tests might also be persuaded to pass by resolving windows to a lower version.

For the time being we have to instruct `cargo` to use some lower version
of our dependencies to ensure our MSRV doesn't need to be bumped -
that is one of the resons why we have a supported version range on our
dependencies.  In the future when Rust 1.84 becomes our MSRV, it will
be able to resolve these automatically (assumming crates set their
`rust-version` correctly if at all!):
https://blog.rust-lang.org/2025/01/09/Rust-1.84.0.html#cargo-considers-rust-versions-for-dependency-version-selection
@MarijnS95
Copy link
Member Author

@ErichDonGubler thanks, but no need to digest the CI warnings; we understand what they mean, I just haven't gotten around to updating this PR yet 🥵

@MarijnS95 MarijnS95 merged commit 5e4191d into main Jan 24, 2025
26 checks passed
@MarijnS95 MarijnS95 deleted the windows-0.59 branch January 24, 2025 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants