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
.PHONY: check fmt clippy test audit deny bench coverage coverage-check build doc clean
check: fmt clippy test audit
fmt:
cargo fmt --all -- --check
clippy:
cargo clippy --all-features --all-targets -- -D warnings
test:
cargo test --all-features
cargo test --no-default-features
audit:
cargo audit
deny:
cargo deny check
bench:
./scripts/bench-history.sh
coverage:
cargo llvm-cov --all-features --html --output-dir coverage/
coverage-check:
./scripts/coverage-check.sh 70
build:
cargo build --release --all-features
doc:
RUSTDOCFLAGS="-D warnings" cargo doc --no-deps --all-features
clean:
cargo clean