Skip to content

Conversation

@paolobarbolini
Copy link
Contributor

This PR is best reviewed commit-by-commit.

This is required for later commits. v1.63 was released 2.5 years
ago and is included in Debian Bookworm.
As explained by the release announcement [1] this stops optional
dependencies from becoming features by themselves, which is
misleading given that they don't enable anything and exposes
implementation details.

[1]: https://blog.rust-lang.org/2022/04/07/Rust-1.60.0.html#new-syntax-for-cargo-features
This is free given that the MSRV is high enough. I've also tried
to remove imports from types which are now part of the prelude.
This helps the MSRV aware resolver pick a version compatible with
the project. This version is also displayed by crates.io, which is
nice. It may also obsolete the versions table in README.md given
that crates.io shows the `rust-version` field in the versions
history page, for example: https://crates.io/crates/tokio/versions
This seems to be ar artifact of how `extern crate` was needed in
Rust 2015 edition.
This has been the default for a long time. crates.io and lib.rs
already assume docs.rs to be the URL for docs.
@paolobarbolini
Copy link
Contributor Author

Ping @SergioBenitez

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant