Crate dia_semver[−][src]
An implementation of https://semver.org
Project
- Repository: https://bitbucket.org/haibison/dia-semver
- License: Nice License 1.0.0 (see LICENSE file at root directory of
master
branch) - This project follows Semantic Versioning 2.0.0
Features
- Supporting 2.0.0 specification.
- 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()
,new_major()
,new_minor()
,new_patch()
…
Notes
Documentation is built with all features. Some of them are optional. If you see components from other crates, you can view source to see what features are required.
Modules
specification | Specification |
version_info |
|
Structs
ParseSemverError | Error while parsing semver. |
Range | Deprecated Range |
Semver | Semver. |
Enums
PreRelease | Pre-release. |
SemverErrorKind | Semver error kind. |
Constants
CODE_NAME | Crate code name |
ID | ID of this crate |
NAME | Crate name |
RELEASE_DATE | Crate release date (year/month/day) |
TAG | Tag, which can be used for logging… |
VERSION | Crate version |
Type Definitions
Result | Result type used in this crate |