What files in a Cargo project should be in my .gitignore?
Summary .gitignore for executable crates # Generated files /target/ .gitignore for library crates # Generated files /target/ # Well, this depends… See below! Cargo.lock Details You can always ignore the target/ folder completely. It only contains generated files (e.g. compile artifacts) and is also usually quite large. If you are developing an executable program, then … Read more