Skip to main content

Module version

Module version 

Source

Structs§

Version
A crate version. It is always a valid SemVer version and is compared, ordered and hashed like one, including build metadata. It is displayed, serialized and stored as the version string it was parsed from.

Enums§

VersionError

Functions§

latest_version
The latest of versions. Stable versions win over pre-releases, like on crates.io, so a pre-release is only the latest if there is no stable one. Versions that cannot be parsed are ignored.