Skip to content

Commit dcf69f0

Browse files
committed
Remove Cargo.lock as recommended by Rust docs.
The Rust language documentation recommends not including the `.lock` file if the crate represents a library - it's there primarily to support reproducible builds for binaries. https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
1 parent 00f1d72 commit dcf69f0

File tree

3 files changed

+4
-174
lines changed

3 files changed

+4
-174
lines changed

src/libcprover-rust/.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
# Ignore build artefacts folder
22
target/
3+
4+
# Ignore Cargo.lock as recommended by Rust docs
5+
Cargo.lock

src/libcprover-rust/Cargo.lock

-173
This file was deleted.

src/libcprover-rust/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description = "Rust API for CBMC and assorted CProver tools"
66
repository = "https://github.com/diffblue/cbmc"
77
documentation = "https://diffblue.github.io/cbmc/"
88
license = "BSD-4-Clause"
9-
exclude = ["module_dependencies.txt"]
9+
exclude = ["module_dependencies.txt", "Cargo.lock"]
1010

1111
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1212

0 commit comments

Comments
 (0)