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
.PHONY: capi capi: cargo build -p capi --release .PHONY: fmt fmt: cargo fmt --all -- --check # Run Clippy with default and all features, to ensure both variants compile. .PHONY: lint lint: cargo clippy --workspace -- -D warnings cargo clippy --workspace --all-features -- -D warnings .PHONY: doc doc: RUSTDOCFLAGS="--cfg docsrs -D warnings" cargo doc --all-features --no-deps .PHONY: test test: fmt lint doc cargo test --workspace --all-features .PHONY: clean clean: cargo clean