Problem
I have a Rust application and I would like to pump the version in my Cargo.toml each time I make a new release.
My version field resides under workspace.package.version, every time I try to pump the version bumper seems to reformat the whole file into a different format:
- Adding indentations.
- Splitting dependencies into
workspace.dependencies.serde and so on.
Desired solution
Nothing should change except for the version.
Workaround
I had to install another crate ( cargo-edit ) with an after:bump hook to update the version.
Problem
I have a Rust application and I would like to pump the version in my
Cargo.tomleach time I make a new release.My
versionfield resides underworkspace.package.version, every time I try to pump the version bumper seems to reformat the whole file into a different format:workspace.dependencies.serdeand so on.Desired solution
Nothing should change except for the version.
Workaround
I had to install another crate (
cargo-edit) with anafter:bumphook to update the version.