-
Notifications
You must be signed in to change notification settings - Fork 292
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
What is the MSRV? #571
Comments
As for CI, it appears that the issue is that the MSRV of the various dependencies, specifically Will poke around to see if |
I've added CI checks in #572. |
I know you expressed that you were okay bumping up all the way to 1.80.0, and at least when I was working on refactoring the code, I noticed that |
My MSRV preference is probably more conservative than most -- I usually advocate for at least a year, which right now would be Rust 1.73 (2023-10-05). A little tighter than that could be 1.75.0 (2023-12-28), which is significant as the current Rust toolchain in RHEL 8 and 9, and also Ubuntu 20.04, 22.04, and 24.04. Debian stable still has 1.63, but they do have In general, I don't think it should be bumped for no reason, and the example of |
Right, I mostly mentioned it to point out that there are things that could be directly useful even in the previous stable version and so keeping us back further will disrupt that. A lot of them in particular will directly affect the kinds of unsafe code that are used in the library and how we interact with them. But obviously, yes, that one example could be easily to write manually, and it's not a massive motivating factor. I think that setting one year back is a good starting point though, and we can talk more about it as things come up. We're not even using all the features the current, much older MSRV offers, so, that's worth fixing. |
While I opened a separate issue for bumping the MSRV on a patch release over at #585 (which breaks our builds with ~no options left as dependencies had already upgraded to the now-yanked 0.15.0), I want to voice our MSRV requirements as We want and have to support Debian Bookworm, i.e., enforce an MSRV policy of 1.63.0 for now. Given that the most-recent bump also violates the MSRV policies of other projects (e.g., |
As the (Please don't publish to crates.io with a max-limited dependency though!) |
FWIW, I've opened a similar issue on |
I was looking at this repo and noticed that the minimum Rust version tested in CI is 1.74, the minimum version listed in Cargo.toml is 1.65, and the minimum version listed in the Readme and changelog is 1.63. Is there a reason for these discrepancies?
The text was updated successfully, but these errors were encountered: