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 bench coverage build doc clean examples
# Run all CI checks locally
check: fmt clippy test audit deny
# 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
cargo test --no-default-features
# Security audit
audit:
cargo audit
# Supply-chain checks (cargo-deny)
deny:
cargo deny check
# Run benchmarks
bench:
cargo bench
# Generate coverage report
coverage:
cargo tarpaulin --all-features --skip-clean
# Build release
build:
cargo build --release --all-features
# Generate documentation
doc:
RUSTDOCFLAGS="-D warnings" cargo doc --no-deps --all-features
# Run examples
examples:
cargo run --example basic
cargo run --example nuclear
cargo run --example spectral
cargo run --example relativity
# Clean build artifacts
clean:
cargo clean
rm -rf coverage/