Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting out to Cargo.toml with workspace.package.version result in format changing. #38

Open
kareemmahlees opened this issue Sep 13, 2024 · 0 comments

Comments

@kareemmahlees
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant