Enabling multiple dependency features?

If one wants to enable a dependency feature using a feature one can use:

myfeature = ["somecrate/somefeature"]

(As per the documentation)

But if one wants to enable multiple features from somecrate does one simple add multiple somecrate/blah entries? There's no shorthand for adding multiple features in the same entry, right?

Correct. You can do

myfeature = ["somecrate/somefeature", "somecrate/blah"]

as you said. That's the only way to do it.

1 Like

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.