# Commands
This file documents the most common commands used in my Rust projects.
```sh
# Create a new Rust binary project
cargo new my_project --bin
# Create a new Rust library project
cargo new my_project --lib
# Build the project in debug mode
cargo build
# Build the project in release mode
cargo build --release
# Run tests
cargo test
# Format the codebase
cargo fmt
# Check for common issues and enforce coding standards
cargo clippy
# Run the project (if it's a binary)
cargo run
# Generate documentation
cargo doc
# Clean the project build artifacts
cargo clean
```
These commands cover the basic workflow for developing, testing, and maintaining Rust projects. Adjust them as needed based on your specific project requirements.