Skip to content
Semantic versioning 2.0.0 library for D programming language
D
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
source
test
.gitignore
.travis.yml
LICENCE.md
README.md
dub.json

README.md

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);
You can’t perform that action at this time.