#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

#1033 in Development tools

Download history 405/week @ 2024-08-21 468/week @ 2024-08-28 223/week @ 2024-09-04 212/week @ 2024-09-11 193/week @ 2024-09-18 285/week @ 2024-09-25 243/week @ 2024-10-02 250/week @ 2024-10-09 163/week @ 2024-10-16 141/week @ 2024-10-23 338/week @ 2024-10-30 126/week @ 2024-11-06 180/week @ 2024-11-13 204/week @ 2024-11-20 437/week @ 2024-11-27 253/week @ 2024-12-04

1,099 downloads per month
Used in 9 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
~107K SLoC