I have the crates A
and B
. A
depends on B
and B
has a feature named some_feature
.
I can build B
using cargo by running cargo build --features=some_feature
, but how can I set the same features for A
that I can choose to enable or disable some_feature
for underlying crate B
when compiling A
?