Features and bugs that might need a bump of Cargo.lock version #12120
Labels
A-lockfile
Area: Cargo.lock issues
C-bug
Category: bug
S-needs-team-input
Status: Needs input from team on whether/how to proceed.
Problem
There are several issues might need a bump of
Cargo.lock
version when fixing them. Here is a non-exhaustive list I kept in my notebook for a while.SourceId
, especially for branch names (usegit check-ref-format --branch <name>
to check)Cargo.lock
format at this time, path dependencies must all have unique names.sparse+
inCargo.lock
for alternative registries.sparse+
protocol.Cargo.lock
#10801Proposed Solution
We could have put corresponding fixes and the lock version bump behind an unstable feature. When we collect enough changes, bump it altogether. Keep in mind that ship too many large-scale changes in a bump might also be a bit risky.
Notes
No response
The text was updated successfully, but these errors were encountered: