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
45
46
47
48
49
50
51
52
53
.PHONY: check fmt clippy test audit deny vet semver bench coverage build doc clean all
# Run all CI checks locally
check: fmt clippy test audit
# Full check including supply-chain
all: check deny doc
# Format check
fmt:
cargo fmt --all -- --check
# Lint (zero warnings)
clippy:
cargo clippy --all-features --all-targets -- -D warnings
# Run test suite
test:
cargo test --all-features
# Security audit
audit:
cargo audit
# Supply-chain checks (cargo-deny)
deny:
cargo deny check
# SemVer compatibility check
semver:
cargo semver-checks check-release
# Run benchmarks with history
bench:
./scripts/bench-history.sh
# Generate coverage report
coverage:
cargo llvm-cov --all-features --html --output-dir coverage/
@echo "Coverage report: coverage/html/index.html"
# Build release
build:
cargo build --release --all-features
# Generate documentation
doc:
RUSTDOCFLAGS="-D warnings" cargo doc --no-deps --all-features
# Clean build artifacts
clean:
cargo clean
rm -rf coverage/