- Rust + Cargo (stable)
- Podman for local container builds
- Docker Buildx for GitHub Actions container validation (
docker/setup-buildx-action) musl-toolsand the Rust targetx86_64-unknown-linux-muslfor the reference container build
cargo fmt -- --check
cargo clippy --all-targets --all-features -- -D warnings
cargo test --all-features
cargo build --releaseRun cargo fmt and cargo clippy before every commit. CI enforces
formatting, clippy, tests, coverage generation, and container validation.
Use Conventional Commits:
type(scope): description
Body explaining *why*.
Commit in logical parts — one concern per commit.
- Use
tracing, notprintln!. - All fallible functions return
Result<T, E>with crate-localthiserrorenums. - Propagate errors with
?; nounwrap()/expect()in production code (#[cfg(test)]is exempt). - No silent error swallowing: dropped
Errmust be logged or propagated. - Document functions including arguments and return values.
- When behavior changes materially, update durable docs in the owning component.
- Do not ignore or adapt tests without explicit consent.