Skip to content

Commit f8b3038

Browse files
cratelynconorsch
authored andcommitted
chore: 🔐 check Cargo.lock into git
the gitignore file, prior to this commit, states: ``` # 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 ``` this points to the rust documentation outlining lockfile practices, here: https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html Galileo is a binary, with a top-level `src/main.rs`. so, we should follow that advice and remove `Cargo.lock` from the gitignore, and check it into the repository.
1 parent b087233 commit f8b3038

File tree

2 files changed

+7330
-4
lines changed

2 files changed

+7330
-4
lines changed

.gitignore

-4
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
debug/
44
target/
55

6-
# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
7-
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
8-
Cargo.lock
9-
106
# These are backup files generated by rustfmt
117
**/*.rs.bk
128

0 commit comments

Comments
 (0)