nxt.semver

Semantic Versioning. TODO: Make Major, Minor and Patch sub-types when D gets implicit conversion in argument passing.

Members

Aliases

Major
alias Major = VersionPart

Major part.

Minor
alias Minor = VersionPart

Minor part.

Patch
alias Patch = VersionPart

Patch part.

VersionPart
alias VersionPart = uint

Parts of semantic version numbers.

Functions

tryParseVersion
Result!Version tryParseVersion(const(char)[] s)

Parse s as a semantic version number.

Structs

BuildMetadata
struct BuildMetadata

Build metadata.

Prerelease
struct Prerelease

Prerelease.

Version
struct Version

Semantic version number.

See Also

Meta