default: check
.PHONY: default
lint:
cargo fmt --all --check
cargo clippy --all -- -D warnings
cargo clippy --all --no-default-features --features json -- -D warnings
.PHONY: lint
lint-fix:
cargo fmt --all
cargo clippy --fix --all --allow-dirty --allow-staged -- -D warnings
cargo clippy --fix --all --no-default-features --features json -- -D warnings
.PHONY: lint-fix
lint-pedantic:
cargo clippy -- -D clippy::pedantic
cargo clippy --no-default-features --features json -- -D clippy::pedantic
.PHONY: lint-pedantic
check:
cargo check --all
cargo check --all --no-default-features --features json
.PHONY: check
test:
cargo bin cargo-nextest run --all
cargo bin cargo-nextest run --no-default-features --lib --tests --features json
cargo test --doc
.PHONY: test
doc:
cargo doc --no-deps --all --open
.PHONY: doc
changelog:
cargo bin changelog -o CHANGELOG.md
.PHONY: changelog