Skip to content
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

Update MSRV to 1.56 #1838

Merged
merged 2 commits into from
Apr 16, 2022
Merged

Update MSRV to 1.56 #1838

merged 2 commits into from
Apr 16, 2022

Conversation

teoxoy
Copy link
Member

@teoxoy teoxoy commented Apr 16, 2022

As mentioned on matrix, wgpu's MSRV has been recently bumped up to 1.59 and I proposed to bump the MSRV of naga to 1.56.

Besides API changes, I think these are the most relevant features for us since 1.43 (our current MSRV):

  • 1.56; rust 2021 (can upgrade in the future), rust-version in Cargo.toml, multiple bindings in match arms
  • 1.55; faster, more correct float parsing
  • 1.53; ability to nest OR patterns in match arms
  • 1.51; Const Generics MVP
  • 1.50; const-generic array indexing, const value repetition for arrays
  • 1.46; const fn improvements

Tested changes locally via cargo msrv verify -- cargo test --all-features --workspace (cargo-msrv).

Cargo.toml Show resolved Hide resolved
@kvark kvark merged commit c942a90 into gfx-rs:master Apr 16, 2022
@teoxoy teoxoy deleted the update-msrv branch April 16, 2022 15:33
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