eee
1
how can I enable multiple feature flags of a dependency if a certain feature flag of my crate is enabled?
I know how to do this for enabling a single feature flag, as demonstrated here:
and described here:
But is there some convenient syntax for writing a list of flags to enable? Or do I have to repetitively list them out like?;
my_feature = ["dep:mydep", "mydep/feature1", "mydep/feature2", "mydep/feature3"]
what I would like is:
my_feature = ["dep:mydep", "mydep/feature1,feature2,feature3"]
But I don't see that documented anywhere. Is it possible?
I believe "repetitively list[ing] them out" is your only option.
1 Like