use-version 0.1.0

Composable version and semver primitives for RustUse.
Documentation
  • Coverage
  • 59.09%
    13 out of 22 items documented1 out of 13 items with examples
  • Size
  • Source code size: 8.98 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 651.46 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 24s Average build duration of successful builds.
  • all releases: 24s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • CloudBranch

use-version

Composable version and semver primitives for RustUse.

use-version provides a small typed layer over semantic versions for release planning and policy checks.

Example

use use_version::{next_minor, parse_version};

let version = parse_version("0.1.0").unwrap();

assert_eq!(next_minor(&version).to_string(), "0.2.0");