Is it possible to have a feature enable a dependency feature but only if that dependency is otherwise enabled?
[package] name = "dep" [features] featureA = 
[package] name = "applib" [features] use_dep = ["dep"] featureA = ["dep/featureA"]
featureA exists in both packages, and I'd like to pass it through to
dep, but only if
use_dep is specified. Is there a way to do this in cargo without creating