-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
A-featuresArea: features — conditional compilationArea: features — conditional compilationA-overridesArea: general issues with overriding dependencies (patch, replace, paths)Area: general issues with overriding dependencies (patch, replace, paths)
Description
For example:
[dependencies]
num-complex = { version = "*", features = ["newfeature"] }This is not allowed by cargo if newfeature doesn't exist upstream, even if there is an override that has the new crate feature flag.
However, the feature flag can still be enabled manually cargo build --features=num-complex/newfeature.
If this worked as expected (using Cargo.toml), it would make it easier to test the new feature using a whole chain / group of crates that depend on it.
Metadata
Metadata
Assignees
Labels
A-featuresArea: features — conditional compilationArea: features — conditional compilationA-overridesArea: general issues with overriding dependencies (patch, replace, paths)Area: general issues with overriding dependencies (patch, replace, paths)