Skip to content

Commit

Permalink
Add cargo.lock (#35)
Browse files Browse the repository at this point in the history
It is recommended for executables to check in the lock file into verison
control in order to provide deterministic builds[1]. A missing lock file
prevents the project from being built via Nix as well (which is what I
was trying to do).

[1]
https://doc.rust-lang.org/cargo/faq.html#why-have-cargolock-in-version-control

Fixes #34
  • Loading branch information
Lykos153 authored Mar 8, 2024
1 parent 942bb80 commit bda263e
Show file tree
Hide file tree
Showing 2 changed files with 2,082 additions and 4 deletions.
4 changes: 0 additions & 4 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 Down
Loading

0 comments on commit bda263e

Please sign in to comment.