-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Automatically enable required-features #4663
Copy link
Copy link
Open
Labels
A-featuresArea: features — conditional compilationArea: features — conditional compilationA-required-featuresArea: required-features settingArea: required-features settingC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`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.
Metadata
Metadata
Assignees
Labels
A-featuresArea: features — conditional compilationArea: features — conditional compilationA-required-featuresArea: required-features settingArea: required-features settingC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`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.
Type
Fields
Give feedbackNo fields configured for issues without a type.
If I have a crate like:
It would be awesome if
cargo run --example myexampleautomatically enabled themyfeaturefeature for me, rather than producing an error message like it does today. There is no situation where I can do anything useful without padding the additional--features myfeatureflag.This is the current message:
See also #2911