That's tricky. It should work in theory since the containing feature would add a version a Dali to the installation plan, and the same installtaion would be used to see whether one of the optional features can be installed according to the version of Dali.Good catch. Sorry.
Although....What if the containing feature depended on dali? The user wouldn't be able to install it without dali, and the correct plugins would be installed if they did. WDYT?