aboutsummaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore23
1 files changed, 20 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index 4efb7e9..4f8e0b2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1,8 @@
backup
test
-# Created by https://www.toptal.com/developers/gitignore/api/linux,windows,macos,vim
-# Edit at https://www.toptal.com/developers/gitignore?templates=linux,windows,macos,vim
+
+# Created by https://www.toptal.com/developers/gitignore/api/rust,linux,windows,macos,vim
+# Edit at https://www.toptal.com/developers/gitignore?templates=rust,linux,windows,macos,vim
### Linux ###
*~
@@ -51,6 +52,22 @@ Temporary Items
# iCloud generated files
*.icloud
+### Rust ###
+# Generated by Cargo
+# will have compiled files and executables
+debug/
+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
+
+# MSVC Windows builds of rustc generate these, which store debugging information
+*.pdb
+
### Vim ###
# Swap
[._]*.s[a-v][a-z]
@@ -97,5 +114,5 @@ $RECYCLE.BIN/
# Windows shortcuts
*.lnk
-# End of https://www.toptal.com/developers/gitignore/api/linux,windows,macos,vim
+# End of https://www.toptal.com/developers/gitignore/api/rust,linux,windows,macos,vim