# List available recipes
default:
    @just --list

# Build the Rust extension (debug, for development)
dev:
    uv run maturin develop

# Build the Rust extension (release)
dev-release:
    uv run maturin develop --release

# Run tests (builds first)
test: dev
    uv run pytest tests/

# Run clippy linter (fail on warnings)
clippy:
    cargo clippy -- -D warnings

# Format Rust code
fmt:
    cargo fmt

# Check Rust formatting
fmt-check:
    cargo fmt -- --check

# Run Rust tests
test-rust:
    cargo test

# Run all checks
check: clippy fmt-check test-rust test
