-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Restore num_cpus and reduce MSRV? #10
Comments
I see, the reason is #6 and dropping num_cpus in favor of standard library... |
Current Debian testing Rust version is still 1.58: https://packages.debian.org/bookworm/rustc |
Yeah, this feels a bit hasty. redis is currently on a 1.51 MSRV and while we're open to increasing the MSRV somewhat, I'd prefer to be more conservative than this. (Note that the tokio ecosystem generally promises 6 months worth of older Rust versions.) |
I'm wrong, edition 2021 was introduced earlier, in Rust 1.56. The problem is new |
If you want libraries to support async-std, maybe you should also consider that many libraries actually do want to support some older Rust versions (especially if the cost of doing so is fairly minimal). Bumping the MSRV for async-std like this actually makes me more likely to reconsider supporting async-std in libraries like redis or quinn that I help maintain.
I think this way of reasoning doesn't quite work out. Yes, as a Rust user I always use the latest Rust version. But as a Rust library maintainer, I'd like my work to be widely usable, including in projects that would like to build on the default Rust version shipped by Debian (while that is not too much of support burden, which it generally isn't). @Keruspe ping? |
Will revert later this week and reopen in a blocked state. |
Debian Rust packages build using the version of rustc in Debian; new packages don't show up in stable directly, only in unstable, which has a sufficiently new rustc. So "the version in Debian stable/testing" isn't a reason to not bump MSRV. (Nothing other than Debian packages should be built using the rustc packaged in Debian.) |
Edition has been updated to 2021 in 036c540, increasing MSRV and breaking builds (see #9). Previously https://github.com/deltachat/deltachat-core-rust/ built with with Rust 1.56.0, but with this update Rust 1.59.0 will be required. I don't see much reason to require edition 2021 in widely used libraries if it does not make maintaining the library easier.
The text was updated successfully, but these errors were encountered: