.PHONY: check fmt clippy test audit deny vet bench coverage fuzz msrv 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
audit:
cargo audit
deny:
cargo deny check
vet:
cargo vet
bench:
./scripts/bench-history.sh
coverage:
cargo llvm-cov --all-features --html --output-dir coverage/
@echo "Coverage report: coverage/html/index.html"
fuzz:
@for target in $$(cargo +nightly fuzz list 2>/dev/null); do \
echo "Fuzzing $$target..."; \
cargo +nightly fuzz run $$target -- -max_total_time=15 || true; \
done
msrv:
cargo +1.89 check --all-features
build:
cargo build --release --all-features
doc:
RUSTDOCFLAGS="-D warnings" cargo doc --no-deps --all-features
clean:
cargo clean
rm -rf coverage/