Skip to main content

Module versioning

Module versioning 

Source
Expand description

Semver reasoning for cache coverage: which upgrade a client may accept silently, and which breaking line a version belongs to.

Enums§

SemverBreakingLine
The semver breaking line a version belongs to.

Functions§

breaking_line
The breaking line version belongs to.
is_semver_compatible_upgrade
Whether candidate may replace current under cargo’s ^ compatibility rules: strictly newer, on the same breaking line, and not a pre-release.
is_within_recent_breaking_lines
Whether candidate’s breaking line is among the limit most recent distinct breaking lines in known_versions (ordered by the newest version in each line).