# List available recipes
default:
@just --list
# Run cargo check
check:
cargo check --all-targets --all-features
# Format code
fmt:
cargo fmt
# Check formatting without modifying files
fmt-check:
cargo fmt -- --check
# Run clippy lints
clippy:
cargo clippy --all-targets --all-features -- -D warnings
# Run tests with nextest
test:
cargo nextest run --all-features
# Run tests in watch mode
test-watch:
cargo watch -x "nextest run --all-features"
# Build the project
build:
cargo build --all-features
# Build release binary
build-release:
cargo build --release --all-features
# Generate and open documentation
docs:
cargo doc --all-features --no-deps --document-private-items --open
# Clean build artifacts
clean:
cargo clean
# Run all pre-commit checks
pre-commit: fmt-check clippy test check
# Run all CI checks (alias for pre-commit)
ci: pre-commit