Crate dia_semver [−] [src]
An implementation of https://semver.org
Project
- Reporisoty: https://bitbucket.org/haibison/cl_semver
- License: Free Public License 1.0.0
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. - Handy functions:
is_stable()
,is_early()
,parse_pre_release()
...
Structs
ParseSemverError |
Error while parsing semver. |
Semver |
Semver. |
Enums
PreRelease |
Pre-release. |
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
|