Crate minver_rs

Crate minver_rs 

Source
Expand description

minver_rs is a minimal version management tool.

Automatically sets the crate version based on git tags. If the current commit is not tagged with a version, the version will be set to a prerelease version with the height from the latest tag appended to the version.

To use this crate, call build_utils::default_build_action() in build.rs, then set build_utils::UPDATE_VERSION_VAR.

See MinverConfig for details on available options.

Based on https://github.com/adamralph/minver

Modules§

build_utils

Structs§

MinverConfig
Version
Represents a semver 2.0 version.

Enums§

SemVerLevel

Functions§

get_version
Calculates the version for the given repository and configuration.