-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Dependencies resolution with --minimal-versions #5657
Copy link
Copy link
Open
Labels
C-tracking-issueCategory: A tracking issue for something unstable.Category: A tracking issue for something unstable.S-needs-designStatus: Needs someone to work further on the design for the feature or fix. NOT YET accepted.Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted.Z-minimal-versionsNightly: minimal-versionsNightly: minimal-versions
Metadata
Metadata
Assignees
Labels
C-tracking-issueCategory: A tracking issue for something unstable.Category: A tracking issue for something unstable.S-needs-designStatus: Needs someone to work further on the design for the feature or fix. NOT YET accepted.Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted.Z-minimal-versionsNightly: minimal-versionsNightly: minimal-versions
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
Status
Unstable, no backers
View all comments
Implementation PR: #5200Nightly: minimal-versions
Docs: https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#minimal-versions
Issues: Z-minimal-versions
Steps:
Unresolved questions:
do we want to "impose" this feature on the ecosystem? Currently, everything seems to work fine due to eager dependency resolution. Adding
--minimal-versionshas costs: one-time ecosystem transition cost, cost to run CI job for minimal versions, cost to actually update minimal versions. There's anecdotal evidence that wrong minimal versions actually are a problem: https://www.reddit.com/r/rust/comments/8ob598/rust_minimum_versions_semver_is_a_lie/e027mtz/.should we implement "--minimal-versions-for-me-but-not-my-dependencies" as well, to make the initial roll-out of this feature easier?
Stabilization TODO:
-Z minimal-versionsto just--minimal-versionsand add it alongside--frozen/locked,linksproblem and solution.