Skip to content

Commit e43da1e

Browse files
Update posts/2025-01-09-Rust-1.84.0.md
Co-authored-by: Josh Triplett <josh@joshtriplett.org>
1 parent 021bd3d commit e43da1e

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

posts/2025-01-09-Rust-1.84.0.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,7 @@ aware selection allows library authors to easily adopt newer Rust versions
2828
while allowing consumers of the library to automatically use old versions
2929
if they need compatibility with older toolchains.
3030

31-
Library authors should start declaring their MSRV. Previously, bumping the
32-
version at each release to latest stable would force downstream consumers
33-
requiring an older Rust version to avoid running `cargo update` and/or require
34-
pinning the version of the library in use, but now those consumers will be able
35-
to automatically avoid pulling in new library versions if they want
36-
compatibility with an older toolchain. We expect this to provide more options
37-
for library authors for picking their preferred support strategy for Rust
38-
versions.
31+
Library authors should take the MSRV-aware resolver into account when deciding their policy on adopting new Rust toolchain features. Previously, a library adopting features from a new Rust toolchain would force downstream users of that library who have an older Rust version to either upgrade their toolchain or manually select an old version of the library compatible with their toolchain (and avoid running `cargo update`). Now, those users will be able to automatically use older library versions compatible with their older toolchain. In the future, we expect this to provide more flexibility for library authors to select their preferred support strategy for Rust versions, without worrying about users on older toolchains.
3932

4033
The new resolver will be enabled by default with the 2024 edition (expected to
4134
stabilize in 1.85), but can be enabled as of 1.84 by setting

0 commit comments

Comments
 (0)