Allow using crate features that only exist in an override #2582
Labels
A-features
Area: features — conditional compilation
A-overrides
Area: general issues with overriding dependencies (patch, replace, paths)
For example:
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.
The text was updated successfully, but these errors were encountered: