-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
Set an msrv requirement and test it on CI #81
Comments
Personally I would try to get 1.63 (or earlier) as MSRV in order to support current Debian bullseye. That would allow for tools depending on bon to be packaged natively for Debian Bullseye. Also, The following graphic contains the Rust version in currently supported (no out of support) distros known to repology.org: |
Thank you for the insight! |
Correction |
Personally I think it's fine to bump MSRV when the Also, something can have an older MSRV when a dependency of it has a newer one. |
What do you mean by "when the |
I've set MSRV to 1.70.0 for now. The problem with making it lower is that crates we use for testing (such as trybuild, for example), don't compile on versions lower than that. I may consider lowering this requirement in the future if a compelling use case emerges or once I just have enough will to fight with this |
I created a followup issue to keep lowering the MSRV (#102). This first iteration is just a good enough first attempt at lowering it. So no reason to be sad |
This feature is now available in |
The current code is tested with
1.80.1
on CI, but I tried to keep it compatible with older versions manually.We need to set the
required-rust-version
in Cargo.toml and the MSRV version to the tests on CI. CI should have matrix jobs for each check that validate the code on both MSRV and latest stableThe text was updated successfully, but these errors were encountered: