-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
A-lockfileArea: Cargo.lock issuesArea: Cargo.lock issues
Description
The Cargo.lock
format is changing over time (and is practically guaranteed to continue changing) and the most recent change has brought up ideas again about possibly encoding a version number into Cargo.lock
. There's a number of comments on that thread weighing some pros and cons (including this one).
One possible way to implement this would be to add a field to the [metadata]
table. Every version of Cargo ever preserves the [metadata]
table, and so we can add a version number in there practically any time and have it preserved by older Cargo while recognized by newer Cargo.
FranklinYu
Metadata
Metadata
Assignees
Labels
A-lockfileArea: Cargo.lock issuesArea: Cargo.lock issues