浏览代码

Merge pull request #1752 from waynenilsen/patch-1

add Cargo.lock to gitignore file by default
Brendan Forster 9 年之前
父节点
当前提交
ac5cd42a92
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      Rust.gitignore

+ 4 - 0
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