# .gitignore for a standard Rust project

# Ignore the build directory, where all compiled artifacts, dependencies,
# and benchmark reports are stored. This is the most important entry.
/target/

# Ignore package caches (though these are usually in the user's home directory)
.cargo-cache/

# Ignore files generated by `cargo install` in the project directory
/bin/
/lib/

# === IDE-Specific Files ===

# Ignore Visual Studio Code specific user settings and history.
# We explicitly UN-ignore files that are useful to share with a team.
.vscode/*
!.vscode/launch.json
!.vscode/tasks.json
!.vscode/settings.json
!.vscode/extensions.json

# === Operating System Generated Files ===

# macOS
.DS_Store
.AppleDouble
._*

# Windows
Thumbs.db
ehthumbs.db

# Linux/Unix editor backup files
*~

# === Miscellaneous ===

# Ignore log files and temporary files
*.log
*.tmp
*.bak