-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Stabilize -Z avoid-dev-deps as --minimal-cargo-lock #5133
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-avoid-dev-depsNightly: avoid-dev-depsNightly: avoid-dev-deps
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-avoid-dev-depsNightly: avoid-dev-depsNightly: avoid-dev-deps
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
Status
Unstable, no backers
Original issue: #4988Nightly: avoid-dev-deps
Implementation: #5012
Documentation: https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#avoid-dev-deps
Issues: Z-avoid-dev-deps
-Z avoid-dev-depsflag avoids resolving dev-dependencies in certain targets likeinstall.@alexcrichton thinks that "in the long run [this wants] to be something like --minimal-cargo-lock which prunes all non-relevant dependencies like platform-specific dependencies that don't apply, dev-deps if you're not building tests, etc."