Skip to content

Commit

Permalink
remove Cargo.lock from .gitignore
Browse files Browse the repository at this point in the history
To ensure reproducible builds for the compiled binaries it's recommended
to add the `Cargo.lock` file to version control.

Refs.:
- Cargo Book FAQs: https://doc.rust-lang.org/cargo/faq.html#why-do-binaries-have-cargolock-in-version-control-but-not-libraries
- Discussion in a github issue: rust-lang/cargo#315
  • Loading branch information
jontze committed Dec 11, 2022
1 parent b96bace commit 8ace62f
Show file tree
Hide file tree
Showing 2 changed files with 2,414 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
target/
Cargo.lock

0 comments on commit 8ace62f

Please sign in to comment.