From 2b5767cb98bcdaeb7c1ca6ece0c4cb92dbe4387e Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Mon, 5 Aug 2024 14:49:34 -0500 Subject: Add rust gitignore Signed-off-by: Matt Strapp --- .gitignore | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 8a3bbbc..1a6b53b 100644 --- a/.gitignore +++ b/.gitignore @@ -137,9 +137,31 @@ go.work go.work.sum # /Go -# Added by cargo -/target +# 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 + +# 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/ +# /Rust +# Python # Byte-compiled / optimized / DLL files __pycache__/ *.py[cod] @@ -302,3 +324,4 @@ cython_debug/ # 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/ +# /Python \ No newline at end of file -- cgit v1.2.3