Version update also updates the a public dependency #94
Open
Description
This is a tricky one..
Provided a workspace, with the members foo
, bar
and syn
.
foo
depends on the localsyn
at path../syn
bar
depends on the public cratesyn
from crates.io
cargo ws version major
will act on all the local crates foo
, bar
and syn
. In this order:
- Bump the version of the local
syn
crate. - Bump the version of the local
foo
crate.- Update
foo
's dependency on the localsyn
crate to the new version.
- Update
- Bump the version of the local
bar
crate.- Update
bar
's dependency on the publicsyn
crate to the new version of the local crate.
- Update
The last tick there is the issue. cargo ws
doesn't properly disambiguate between local crates and public ones.
The branch miraclx/crate-conflict
is a stage for reproducing this experiment.