-
Notifications
You must be signed in to change notification settings - Fork 28
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
Rust 2021 edition is a major, not a "patch" change #53
Comments
Thanks for bringing this issue to my attention! I wasn't aware that it would break the build for old compilers. I'll take a look at it this weekend to see how to address the issue (revert, document, or something else). |
I would prefer revert, because https://github.com/deltachat/deltachat-core-rust tries to support Rust >=1.51 (this version introduced const generics which are required by rustcrypto crates) and depends on data-encoding via some crates, including Also since you have a CI setup, it makes sense to fix some MSRV and automatically test that the crate can still be built with it. If some change breaks compatibility you will notice it and can decide whether it's worth rising the minimum version. |
Indeed, reverting sounds like the best approach for now, but I'd like to check if there are alternatives before committing. For sure, the priority is to not break users. Thanks for the CI idea, I'll definitely do that. |
It looks like there are no clear guidelines on how an MSRV bump should impact the crate version. The Rust Embedded WG only restricts to the latest stable. Given that the The smallest MSRV is currently 1.46.0 according to If this sounds good to you, I'll submit #54. Thanks again for bringing this issue to my attention before it was too late! |
Checked #54, looks good. |
Thanks! Merging. |
I noticed commit f8cb34b
Once you release this as a "patch" you will likely get bug reports that it breaks builds for people using Rust < 1.56.0 and have to yank the version and re-release as major or revert it. This change unnecessarily raises MSRV.
The text was updated successfully, but these errors were encountered: