Crate dia_semver [] [src]

An implementation of https://semver.org

Project

Features

  • Supporting 2.0.0 specification.
  • Parsing data from: String, &str, OsString, &OsStr, CString, &CStr.
  • Tolerant parser: leading/trailing white spaces are ignored; minor and patch version numbers are optional. This parser is added by the crate author, and is not described in official specification. See Semver for more details.

Structs

ParseSemverError

Error while parsing semver.

Semver

Semver.

Enums

SemverErrorKind

Semver error kind.

Constants

CRATE_CODE_NAME

Crate code name.

CRATE_NAME

Crate name.

CRATE_RELEASE_DATE

Crate release date (year/month/day).

CRATE_VERSION_NAME

Crate version name.

TAG

Tag, which can be used for logging...

UUID

Unique universally identifier of this crate. Its CRC-32 is d3a031f3.