#semver #version #specification #requirements #alias #range #partial

version_spec

A specification for working with partial, full, or aliased versions. Supports semver and calver.

19 releases (6 breaking)

0.7.1 Dec 2, 2024
0.7.0 Aug 15, 2024
0.6.1 Jul 8, 2024
0.2.1 Feb 6, 2024
0.1.5 Nov 8, 2023

#759 in Development tools

Download history 289/week @ 2024-09-24 261/week @ 2024-10-01 263/week @ 2024-10-08 163/week @ 2024-10-15 141/week @ 2024-10-22 343/week @ 2024-10-29 108/week @ 2024-11-05 162/week @ 2024-11-12 203/week @ 2024-11-19 369/week @ 2024-11-26 375/week @ 2024-12-03 176/week @ 2024-12-10 158/week @ 2024-12-17 212/week @ 2024-12-24 286/week @ 2024-12-31 416/week @ 2025-01-07

1,081 downloads per month
Used in 12 crates (3 directly)

MIT license

35KB
735 lines

version_spec

Crates.io Crates.io

Enums and utilities for working with partial, full, and aliased versions, known as a version specification. It primarily handles the states of an unresoled version candidate (requirement, range, alias, partial, etc) to a resolved version (version, alias).

Supports both semantic versions (semver) and calendar versions (calver).

Dependencies

~3.5–6MB
~109K SLoC