pub fn apply_bump(current: &Version, level: BumpLevel) -> VersionExpand description
Apply a bump level to a semver version, returning the new version.
Resets lower components to zero (e.g. minor bump 1.2.3 → 1.3.0).
For versions < 1.0.0, major bumps still increment the major component.