1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
.PHONY: check fmt clippy test bench audit deny build doc coverage clean
# Run all CI checks locally
check: fmt clippy test
# Format check
fmt:
cargo fmt --all -- --check
# Lint (zero warnings)
clippy:
cargo clippy --all-targets -- -D warnings
# Run test suite
test:
cargo test
# Run benchmarks (criterion)
bench:
cargo bench
# Security audit
audit:
cargo audit
# Supply-chain checks (license + advisory + source)
deny:
cargo deny check
# Build release
build:
cargo build --release
# Generate documentation
doc:
cargo doc --no-deps
# Code coverage report
coverage:
cargo llvm-cov --html
# Clean build artifacts
clean:
cargo clean