summaryrefslogtreecommitdiff
path: root/hello-rust/.gitignore
diff options
context:
space:
mode:
Diffstat (limited to 'hello-rust/.gitignore')
-rw-r--r--hello-rust/.gitignore19
1 files changed, 18 insertions, 1 deletions
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
+