Skip to content

RUST-2216 bump MSRV to 1.81.0 #1375

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

Closed
wants to merge 1 commit into from
Closed

Conversation

kevinAlbs
Copy link
Contributor

Summary

Bump MSRV to 1.81.0.

Motivation

To fix failing compile-on-msrv task:

error: package `bson v2.14.0 (https://github.com/mongodb/bson-rust?branch=main#806d68f5)` cannot be built because it requires rustc 1.81 or newer, while the currently active rustc version is 1.74.0

Tested with this patch build: https://spruce.mongodb.com/version/682b3c30e30473000763fd53

mongodb/bson-rust@806d68f added rust-version = "1.81" to Cargo.toml in bson-rust.

https://releases.rs/docs/1.81.0/ was released 5 September, 2024. I expect bumping to 1.81.0 is OK with the MSRV policy:

will be to a Rust version at least six months old.

@kevinAlbs kevinAlbs requested a review from a team as a code owner May 19, 2025 14:32
@kevinAlbs kevinAlbs requested a review from isabelatkinson May 19, 2025 14:32
@isabelatkinson
Copy link
Contributor

I actually put up a fix for this last week (#1373) - the MSRV resolver doesn't work for the way we specify these dependencies, but we technically don't need to do a bump here

@kevinAlbs
Copy link
Contributor Author

Ah perfect. Thank you for the fix. Closing.

@kevinAlbs kevinAlbs closed this May 19, 2025
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