Skip to main content

required_bump

Function required_bump 

Source
pub(crate) fn required_bump(
    root: &Path,
    package: &str,
    tag: &str,
) -> Result<Bump, SemverError>
Expand description

Check a package’s public API against an earlier Cargo baseline tag and report the bump its changes require.

§Errors

Returns an error when cargo semver-checks cannot run, reports a tool failure, or reports a break without a bump summary.