cargo-bump
cargo-bump copied to clipboard
Workspace support
When executing cargo bump minor in a workspace root, I get:
cargo bump minor
thread 'main' panicked at 'package.version missing', libcore/option.rs:989:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.
I tested this with the imag source.
Workspace workflows were a lot less common when I wrote this, I'll noodle on this today to see how other tools handle this.
Awesome!
It crashes more helpfully right now master, I'll hopefully have the ability to specify a package within a workspace soon, then I'll have to refactor stuff a bit so I can make an --all flag.
I don't plan on making a release until I have at least package specification working. This will likely come out at as 1.1.0 or maybe 2.0 if I have to replace the toml lib (which is looking likely)
(Deleted a duplicate comment, nothing of importance)
If you replace the tomllib with toml-rs, have a look at toml-query as well. It might help in some places.
Sorry about the duplicated comment, I have bad internet right now.