.PHONY: test clean build check release doc
release:
cargo build --release
build:
cargo build
doc:
cargo doc
check:
RUSTFLAGS=-Dwarnings cargo check --all-features
RUSTFLAGS=-Dwarnings cargo check --all-features --tests
RUSTFLAGS=-Dwarnings cargo clippy --all-features
RUSTFLAGS=-Dwarnings cargo clippy --all-features --tests
cargo clippy --all-features -- -W clippy::pedantic
cargo clippy --all-features --tests -- -W clippy::pedantic
test: build
cargo test
clean:
cargo clean