Implement new optional dependency semantics. Fixes #361.
If no dub.selections.json file exists yet, optional dependencies will stay deselected by default, unless the "default" flag is set. If dub.selections.json exists, optional dependencies will only be used if present in that file, independently of their local installation state. |
---|
|
source/dub/dub.d |
---|
source/dub/project.d |
---|