bump_for
The largest version bump called for by any of commits.
One breaking change means Bump::Major; otherwise a feat means Bump::Minor, a fix
Bump::Patch, and commits of other types (docs, tests, chores) do not bump the version.
An empty list gives Bump::None.
Import
Section titled “Import”Cargo feature commit (enabled by default). To compile only this module:
or in Cargo.toml:
Signature
Section titled “Signature”Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
commits | &[Commit] | The parsed commits of a release, in any order. |
Returns
Section titled “Returns”Bump — The bump to apply to the current version.
