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
SMOL_ALL = smol TOKIO_ALL = tokio .PHONY: check fmt clippy unit-test integration-test test check: cargo check fmt: cargo fmt --check clippy: cargo clippy -- -D warnings unit-test: cargo test --lib --no-default-features --features $(SMOL_ALL) cargo test --lib --no-default-features --features $(TOKIO_ALL) cargo test --doc --no-default-features --features $(SMOL_ALL) cargo test --doc --no-default-features --features $(TOKIO_ALL) integration-test: cargo test --no-default-features --features $(SMOL_ALL) --tests cargo test --no-default-features --features $(TOKIO_ALL) --tests test: unit-test integration-test