I just created a dub package. Frankly, the whole thign is backward.

rikki cattermole rikki at cattermole.co.nz
Wed Apr 27 22:34:24 UTC 2022


On 28/04/2022 8:38 AM, H. S. Teoh wrote:
> If dub could be expanded to accept a superset of its narrowminded
> interpretation of SemVer, its dependency resolution algorithm could be
> reused for resolving non-D dependencies too.  I think this is a fruitful
> direction to go.  Dub seriously needs to get over its walled garden
> mentality and become more open to interacting with the outside world.

Dependency resolution algorithm specialization:

https://github.com/dlang/dub/blob/059f7a2a16cf7a50a5c68dc295c796482116ff87/source/dub/dub.d#L1793

Semver matching ext.

https://github.com/dlang/dub/blob/master/source/dub/dependency.d#L453


More information about the Digitalmars-d mailing list