Skip to content

Commit ec8d3ad

Browse files
epagejoshtriplett
andauthored
feat(alt): New lockfile format
Co-authored-by: Josh Triplett <[email protected]>
1 parent 761049c commit ec8d3ad

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

text/3502-cargo-script.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1283,3 +1283,6 @@ If we want this to be near-lossless, it seems like we'd need
12831283
See also
12841284
[Cargo time machine (generate lock files based on old registry state) ](https://github.com/rust-lang/cargo/issues/5221)
12851285

1286+
**Format 4: Minimal lockfile format**
1287+
1288+
We could simplify the lockfile format to store less information, making it more appealing to embed in the binary. We could store enough information to easily recreate the lockfile, without requiring timestamp-based recreation of the index state. This would primarily include the exact versions of every dependency.

0 commit comments

Comments
 (0)