Skip to content

Commit

Permalink
Add Cargo.lock
Browse files Browse the repository at this point in the history
The presence of a lock file doesn't affect the versions that other crates
will use, and it ensures that tests in CI are reproducible. Rust currently
recommends not checking it in for libraries, but this appears to be about
to change:
rust-lang/cargo#8728
  • Loading branch information
dae committed Aug 26, 2023
1 parent 87d11f0 commit 053dd00
Show file tree
Hide file tree
Showing 3 changed files with 2,560 additions and 7 deletions.
6 changes: 1 addition & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
debug/
target/

# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
Cargo.lock

# These are backup files generated by rustfmt
**/*.rs.bk

Expand All @@ -16,4 +12,4 @@ Cargo.lock
.DS_Store

tmp/
*.anki21
*.anki21
Loading

0 comments on commit 053dd00

Please sign in to comment.