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

version_spec

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

18 releases (6 breaking)

0.7.0 Aug 15, 2024
0.6.1 Jul 8, 2024
0.6.0 Jun 16, 2024
0.2.1 Feb 6, 2024
0.1.5 Nov 8, 2023

#1075 in Development tools

Download history 394/week @ 2024-07-29 142/week @ 2024-08-05 439/week @ 2024-08-12 610/week @ 2024-08-19 404/week @ 2024-08-26 364/week @ 2024-09-02 207/week @ 2024-09-09 108/week @ 2024-09-16 282/week @ 2024-09-23 279/week @ 2024-09-30 304/week @ 2024-10-07 163/week @ 2024-10-14 156/week @ 2024-10-21 322/week @ 2024-10-28 105/week @ 2024-11-04 185/week @ 2024-11-11

781 downloads per month
Used in 9 crates (3 directly)

MIT license

34KB
733 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.5MB
~99K SLoC