#semver #version #alias #specification #partial #requirements #semantic

version_spec

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

17 releases (5 breaking)

new 0.6.1 Jul 8, 2024
0.5.2 May 28, 2024
0.2.1 Feb 6, 2024
0.1.7 Dec 7, 2023
0.1.5 Nov 8, 2023

#878 in Parser implementations

Download history 416/week @ 2024-03-14 432/week @ 2024-03-21 239/week @ 2024-03-28 394/week @ 2024-04-04 411/week @ 2024-04-11 489/week @ 2024-04-18 195/week @ 2024-04-25 458/week @ 2024-05-02 120/week @ 2024-05-09 316/week @ 2024-05-16 769/week @ 2024-05-23 430/week @ 2024-05-30 468/week @ 2024-06-06 581/week @ 2024-06-13 611/week @ 2024-06-20 372/week @ 2024-06-27

2,058 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
~98K SLoC