Skip to content

Commit 52623c1

Browse files
committed
chore: add .gitignore for Rust projects
0 parents  commit 52623c1

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.gitignore

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Created by https://www.toptal.com/developers/gitignore/api/rust
2+
# Edit at https://www.toptal.com/developers/gitignore?templates=rust
3+
4+
### Rust ###
5+
# Generated by Cargo
6+
# will have compiled files and executables
7+
debug/
8+
target/
9+
10+
# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
11+
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
12+
Cargo.lock
13+
14+
# These are backup files generated by rustfmt
15+
**/*.rs.bk
16+
17+
# MSVC Windows builds of rustc generate these, which store debugging information
18+
*.pdb
19+
20+
# End of https://www.toptal.com/developers/gitignore/api/rust
21+
/.claude/

0 commit comments

Comments
 (0)