diff --git a/Rust.gitignore b/Rust.gitignore index 37727f91..a29d6856 100644 --- a/Rust.gitignore +++ b/Rust.gitignore @@ -9,3 +9,7 @@ # Generated by Cargo /target/ + +# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries +# More information here http://doc.crates.io/guide.html#cargotoml-vs-cargolock +Cargo.lock