Nondeterministic resolution (?) causing dependency to flap in Cargo.lock #13942
Labels
A-dependency-resolution
Area: dependency resolution and the resolver
C-bug
Category: bug
S-triage
Status: This issue is waiting on initial triage.
Problem
We have a situation where cargo wants to keep changng the version of one of our dependencies. Probably related is that our
Cargo.toml
s say things like thisSteps
Cargo.lock
diff:Many changes of the form
are expected.
The changes of the form
are OK - that's just removing disambiguations.
This hunk is undesirable. Also, in our experience, cargo sometimes wants to change this from 0.4 to 0.5 and sometimes from 0.5 to 0.4. (I tried to repro it flapping, but I wasn't able to.)
Possible Solution(s)
Ideally cargo wouldn't make unecessary changes.
Notes
The use of a relaxed version dependency seems to be implicated.
Our dependency stack includes heck 0.4 because of strum.
Version
The text was updated successfully, but these errors were encountered: