"dep:dependency" features are not running with --feature-powerset
and without --optional-deps
#153
Labels
A-features
Area: features (--feature-powerset, --each-feature, etc.)
C-bug
Category: related to a bug.
I have a
Cargo.toml
which basically contains--feature-powerset
will not run for--features crate_a
--feature-powerset --optional-deps
, works withcrate_a
but also tries to runcrate_c
which fails because a feature with "dep:crate_c" is specifiedDo you see this being fixed somehow? I try to avoid specifying the optional dependencies myself. The optimal solution would probably be that
--feature-powerset
will "simply" pick upcrate-a
as well as it's defined int he[features]
section.Without looking at the code I guess that you read all features and exclude them if
--optional-deps
is not specified and the crate is also an optional dependency?The text was updated successfully, but these errors were encountered: