pksunkara / cargo-workspaces

A tool for managing cargo workspaces and their crates, inspired by lerna
MIT License
465 stars 46 forks source link

Extremely slow to change versions #147

Closed j-baker closed 8 months ago

j-baker commented 8 months ago

I have a workspace with about 30 crates. They have a few registries

I run

cargo workspaces version --no-git-commit -y --exact --force '*' -a custom "1.2.0"

to basically try to update all the versions. My hope is that this returns very quickly. Unfortunately it takes 8m14s. This is because for each crate in the workspace, this project runs cargo update -p $crateName. I assume that this is done in order to ensure that Cargo.lock is up to date.

I'm wondering if this should instead run cargo update -w at the end, once.

pksunkara commented 8 months ago

Feel free to check with master now.