| 1 |
default: |
| 2 |
just --list |
| 3 |
|
| 4 |
vet: |
| 5 |
# Only consider Linux dependencies, as that's all I care for. |
| 6 |
# Seems to be unofficial, see https://github.com/mozilla/cargo-vet/issues/579, but works |
| 7 |
env CARGO_BUILD_TARGET=x86_64-unknown-linux-gnu cargo vet --locked |
| 8 |
|
| 9 |
test-all: vet |
| 10 |
cargo +stable deny --all-features --locked check |
| 11 |
cargo +stable fmt -- --check |
| 12 |
cargo +stable clippy --all-targets --locked |
| 13 |
# Stable build, test, and docs |
| 14 |
cargo +stable build --locked |
| 15 |
cargo +stable test --locked |
| 16 |
cargo +stable doc |
| 17 |
# MSRV |
| 18 |
cargo +1.68 build --locked --all-targets |
| 19 |
# semver checks |
| 20 |
cargo semver-checks |
| 21 |
|
| 22 |
release *ARGS: test-all |
| 23 |
cargo release {{ARGS}} |