From 4fe160c9186c4341a49edc2ee6fae07bd088b56a Mon Sep 17 00:00:00 2001 From: Jordan Gong Date: Tue, 4 Aug 2020 14:46:51 +0800 Subject: Ignore Cargo.lock --- hello-rust/.gitignore | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'hello-rust/.gitignore') diff --git a/hello-rust/.gitignore b/hello-rust/.gitignore index ea8c4bf..e629269 100644 --- a/hello-rust/.gitignore +++ b/hello-rust/.gitignore @@ -1 +1,18 @@ -/target + +# Created by https://www.toptal.com/developers/gitignore/api/rust +# Edit at https://www.toptal.com/developers/gitignore?templates=rust + +### Rust ### +# Generated by Cargo +# will have compiled files and executables +/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 + +# End of https://www.toptal.com/developers/gitignore/api/rust + -- cgit v1.2.3