How dub select versions?

Mike Parker via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Oct 5 01:27:13 PDT 2016


On Wednesday, 5 October 2016 at 08:23:25 UTC, Mike Parker wrote:
>
>
> The ~> constrains the dependency to the minor version number, 
> meaning DUB will not try to use a version of the dependency 
> that has a higher minor version.

Oh, that came out wrong. TO be clear for anyone who doesn't read 
the linked wiki page in detail:

The ~> constrains the dependency to the minor version number when 
used with the n.n.n format. It constrains to the major version 
when using n.n (e.g. ~>1.0 is the same as >=1.0 && <2.0).


More information about the Digitalmars-d-learn mailing list