set shell := ["bash", "-uc"] check: cargo check fmt toolchain="+nightly": cargo {{toolchain}} fmt fmt-check toolchain="+nightly": cargo {{toolchain}} fmt --check lint: cargo clippy --no-deps -- -D warnings test: cargo test fix: cargo fix --allow-dirty --allow-staged doc toolchain="+nightly": RUSTDOCFLAGS="-D warnings --cfg docsrs" cargo {{toolchain}} doc --no-deps all: check fmt lint test doc