Skip to content

Track Cargo.lock for reproducible builds#60

Open
Mic92 wants to merge 1 commit intorendro:mainfrom
Mic92:commit-cargo-lock
Open

Track Cargo.lock for reproducible builds#60
Mic92 wants to merge 1 commit intorendro:mainfrom
Mic92:commit-cargo-lock

Conversation

@Mic92
Copy link

@Mic92 Mic92 commented Mar 15, 2026

Cargo recommends committing the lock file for binary/application crates to ensure reproducible builds.

This is especially important for downstream packagers (e.g. Nix) who need deterministic dependency resolution without network access during builds. Without a committed Cargo.lock, packagers must maintain their own copy, which can drift from what upstream tests against.

Cargo recommends committing the lock file for binary/application
crates to ensure reproducible builds. This is especially important
for downstream packagers (e.g. Nix) who need deterministic dependency
resolution without network access during builds.
@Mic92
Copy link
Author

Mic92 commented Mar 15, 2026

This is now part of pinpox/opencrow#37 and avoids us having to pull in 7000 lines of Cargo.lock by default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant