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

Migrate to Edition 2021 #360

Merged
merged 6 commits into from
Jul 30, 2023
Merged

Migrate to Edition 2021 #360

merged 6 commits into from
Jul 30, 2023

Conversation

futursolo
Copy link
Collaborator

This pull request migrates to edition 2021.

Since wasm-bindgen requires 1.56, there is no benefit to keep crates at edition 2018.
Upgrading the crates to edition 2021 will enable the rust-version field which suppresses clippy for lints not available in MSRV.

I have calculated the MSRV with cargo-msrv, which is 1.64.

@futursolo futursolo requested a review from ranile July 29, 2023 14:09
@futursolo
Copy link
Collaborator Author

Tests are failing as Trunk released a new version 10 minutes ago.

@ranile
Copy link
Collaborator

ranile commented Jul 29, 2023

Can you please also update the changelog?

Also, I believe this should be a minor version, not patch, when releasing, right?

@futursolo
Copy link
Collaborator Author

futursolo commented Jul 29, 2023

Can you please also update the changelog?

This is done. Should we add a PR template so future contributors don't forget about this?

Also, I believe this should be a minor version, not patch, when releasing, right?

I believe so as this pull request now requires 1.64 for all crates where as in the past only some crates require 1.64.

@ranile
Copy link
Collaborator

ranile commented Jul 30, 2023

This is done. Should we add a PR template so future contributors don't forget about this?

Good idea!

I also updated the CI so it runs against MSRV (and nightly) too. Will merge this once CI is green

@ranile ranile merged commit f5f963a into rustwasm:master Jul 30, 2023
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.

2 participants