| 1 |
_list: |
| 2 |
@just --list |
| 3 |
|
| 4 |
# Format project. |
| 5 |
fmt: |
| 6 |
just --unstable --fmt |
| 7 |
cargo +nightly fmt |
| 8 |
|
| 9 |
# Check project. |
| 10 |
[group("lint")] |
| 11 |
check: && clippy |
| 12 |
just --unstable --fmt --check |
| 13 |
cargo +nightly fmt -- --check |
| 14 |
|
| 15 |
# Lint workspace with Clippy. |
| 16 |
clippy: |
| 17 |
cargo clippy --workspace --all-targets --no-default-features |
| 18 |
cargo clippy --workspace --all-targets --all-features |
| 19 |
|
| 20 |
# Document crates in workspace. |
| 21 |
doc *args: |
| 22 |
RUSTDOCFLAGS="--cfg=docsrs -Dwarnings" cargo +nightly doc --workspace --all-features {{ args }} |