#range #golang #semver #version #specification #alias #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

#821 in Parser implementations

Download history 365/week @ 2024-07-03 493/week @ 2024-07-10 373/week @ 2024-07-17 381/week @ 2024-07-24 216/week @ 2024-07-31 153/week @ 2024-08-07 697/week @ 2024-08-14 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 146/week @ 2024-10-16

972 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
~100K SLoC