# Default recipe: list available commands
default:
@just --list
# Build the project
build:
cargo build --all-targets
# Build in release mode
build-release:
cargo build --all-targets --release
# Format code
format:
cargo fmt --all
# Check formatting without modifying files
format-check:
cargo fmt --all --check
# Run tests
test:
cargo test --all-targets
# Run tests with output
test-verbose:
cargo test --all-targets -- --nocapture
# Run lints
lint:
cargo clippy --all-targets -- -D warnings
# Clean build artifacts
clean:
cargo clean
# Run all checks (format, lint, test)
check: format-check lint test
# Run example
example name="simple":
cargo run --example {{name}}