Skip to content

Bump MSRV to 1.56 and update to the 2021 edition - #1098

Merged
davidpdrsn merged 3 commits into
mainfrom
bump-msrv
Jun 17, 2022
Merged

Bump MSRV to 1.56 and update to the 2021 edition#1098
davidpdrsn merged 3 commits into
mainfrom
bump-msrv

Conversation

@davidpdrsn

Copy link
Copy Markdown
Member

CI builds are failing because a dependency updated to the latest hashbrown which uses the 2021 edition. That isn't available in our MSRV which is 1.54. I've been reluctant to bump our MSRV without a good reason but IMO this is a good reason. Not quite sure how else to resolve it, without pinning to specific versions of crates which is a hassle.

1.56 came up in October 2021 so thats like 8 months which I think is reasonable.

I don't consider this a breaking change.

All the changes were done with search and replace. There are probably some places in the code that could be moved to newer features but we can do that in follow up PRs when we come across them.

@davidpdrsn

Copy link
Copy Markdown
Member Author

We could do something like tower-rs/tower#670 but I still bumping our MSRV is fine

@davidpdrsn
davidpdrsn merged commit 93251fa into main Jun 17, 2022
@davidpdrsn
davidpdrsn deleted the bump-msrv branch June 17, 2022 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants