summaryrefslogtreecommitdiffstats
path: root/options/gitignore/Rust
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--options/gitignore/Rust21
1 files changed, 21 insertions, 0 deletions
diff --git a/options/gitignore/Rust b/options/gitignore/Rust
new file mode 100644
index 0000000..d01bd1a
--- /dev/null
+++ b/options/gitignore/Rust
@@ -0,0 +1,21 @@
+# 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
+
+# RustRover
+# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
+# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
+# and can be added to the global gitignore or merged into this file. For a more nuclear
+# option (not recommended) you can uncomment the following to ignore the entire idea folder.
+#.idea/ \ No newline at end of file