GitIgnore File for rust

Create a .gitignore file to tell git which files or folders to ignore in your rust project.

# Created by https://Shodkk.com/create-gitignore (Shantanu Bombatkar) SirDeploy Package
# It helps deploy fakeserver ReactApp on Heroku and Github Pages
#  Hope it helps || Thanks for Using SirDeploy Package

### 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

 # Star the Repo https://github.com/shaantanu9/SirDeploy
# https://www.linkedin.com/in/shantanu-bombatkar/ 
# End of File
Download rust.gitignore

List Of Files and Folders That Get Ignored using this Gitignore code

Above Code Helps ignore following files from rust Project

Generated by Cargo

will have compiled files and executables

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

These are backup files generated by rustfmt

MSVC Windows builds of rustc generate these, which store debugging information

If you have any questions or suggestions please feel free to contact us


Feedback is the most important part of any website.

If you have any query, suggestion or feedback, Please feel free to contact us.