brightproof 2.4.0

Semantic Versioning 2.0.0 library


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

BrightProof Page on DUB Licence

SemVer 2.0.0 parsing and constructing library

Comparing

You can compare structs.

SemVer("1.0.0-rc.1") < SemVer("1.0.0-rc.20");
SemVer("1.0.0-rc.1") < SemVer("1.0.0");
SemVer("1.0.0-rc.1") < SemVer("1.0.0+build.1");

Examples

Check out ./examples directory

Compile-time

You can use this library at compile-time.

pragma(msg, SemVer("1.0.0").nextMajor.nextMinor.toString);
Authors:
  • Azbuka
Dependencies:
natcmp
Versions:
2.4.0 2016-Nov-12
2.3.0 2016-Nov-11
2.2.1 2016-Aug-11
2.2.0 2016-Apr-09
2.1.3 2016-Mar-31
Show all 15 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 1825 downloads total

Score:
0.6
Short URL:
brightproof.dub.pm