.PHONY: check test miri bench clippy fmt doc full release clean
check: fmt clippy test
@echo "✅ All checks passed"
test:
cargo test
cargo test --no-default-features
miri:
@echo "Running Miri (undefined behavior detection)..."
cargo +nightly miri test
@echo "✅ Miri found no UB"
bench:
cargo bench --bench comparative
@echo "📊 Results in target/criterion/"
clippy:
cargo clippy --all-features -- -D warnings
fmt:
cargo fmt --check
doc:
cargo doc --all-features --no-deps
@echo "📖 Docs in target/doc/"
full: fmt clippy test miri doc
@echo "✅ Full pipeline passed"
release: full
cargo publish --dry-run
@echo "🚀 Ready to publish"
clean:
cargo clean