-
Notifications
You must be signed in to change notification settings - Fork 10
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
MSRV policy #18
Comments
Review of features introduced by rust > 1.34 that might be of interest to this crate:
|
Review of this crate's dependencies' MSRV policies:
|
I tried to change the CI setup to use rust 1.34, however, it failed. It seems that |
The failure of |
It seems the ability to apply custom attributes to modules was introduced in rust 1.42, even though the release notes do not mention this (as far as I can see). Therefore, for 1.34, this is illegal. We will therefore need a separate MSRV for this feature. And since it is enabled by default, this will raise the MSRV of this crate when using default features. |
Regarding When run on 1.34, this attribute will be false causing the test of the readme to not be run. Crucially, this does not cause an error. |
Final decision on MSRV policy: The base MSRV is 1.34 (this is the lowest possible MSRV.)
Increasing the base MSRV or the MSRV of a feature is regarded as a breaking change and will be accompanied by a major version bump. |
Thanks for being so thorough, I highly appreciate it! |
Implemented and will part of the next release. |
Short Description:
Decide on a "Minimum Supported Rust Version" (MSRV).
Motivation:
#17 proposes changes to the implementation to allow the crate to work on rust 1.34.
This is a clear indication of a need for an official MSRV from a direct user of the crate.
The reason for using 1.34 specifically is that apparently the current Debian stable has this version installed.
This could be a good starting point for an MSRV as its backwards compatible with the current implementation, and it can be lowered even more in the future, without having to bump the major version. And from #17 it doesn't seem like we depend on important features of newer rust versions.
Design
Commit to an official MSRV of 1.34
Misc:
Unresolved Questions
The text was updated successfully, but these errors were encountered: