cargo_next
pub fn bump_version( path: impl AsRef<Path>, type: SemVer) -> Result<Version, Error>
Bumps the version inside a Cargo.toml file according to semver specs.
Cargo.toml
path
type
The new version or an error if something went wrong during IO operations.