fmt:
cargo fmt --all
sort:
cargo sort --workspace --grouped
lint: fmt sort
check:
cargo check --all --all-targets --all-features
clippy:
cargo clippy --all --all-targets --all-features
clippy-fix:
cargo clippy --fix
typos:
typos -w
doc:
RUSTDOCFLAGS="-D rustdoc::broken-intra-doc-links" cargo doc --all-features --no-deps
doc-open:
RUSTDOCFLAGS="-D rustdoc::broken-intra-doc-links" cargo doc --all-features --no-deps --open
hack:
cargo hack check --each-feature --no-dev-deps --workspace
test:
cargo test --all-features --workspace
qa: lint check clippy doc hack test
watch-docs:
cargo watch -x doc
watch-check:
cargo watch -x check -x test
fuzz:
cargo +nightly fuzz run fuzz_employee_db -- -max_len=131072
fuzz-30s:
cargo +nightly fuzz run fuzz_employee_db -- -max_len=131072 -max_total_time=60
bench:
cargo bench