Skip to content

Commit

Permalink
Add .gitattributes and update .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
garhow committed Jul 26, 2023
1 parent 33e370b commit add4fcd
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Auto detect text files and perform normalization
* text=auto

*.rs text diff=rust
*.toml text diff=toml
Cargo.lock text
17 changes: 16 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,17 @@
/target
# 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

# main.rs used for testing
src/main.rs

0 comments on commit add4fcd

Please sign in to comment.