cargo q
Run Cargo only once.
the terminal
flags
-k
keep going
--keep-going
cargo q -k test build2 command(s), sequentially: cargo test cargo build
-p
all at once
--parallel
cargo q -p check clippy doc3 command(s), in parallel: cargo check cargo clippy cargo doc
-n
look first
--dry-run
cargo q -n build --features=foo1 command(s), sequentially: cargo build --features=foo
-v
watch cargo
--verbose
cargo q -v check run2 command(s), sequentially: cargo check cargo run
--repeat
N rounds
--repeat <N>
cargo q --repeat 3 check1 command(s) x 3 rounds, sequentially: cargo check
--no-fancy
plain lines
for agents & CI
cargo q --no-fancy fmt check test3 command(s), sequentially: cargo fmt cargo check cargo test
echo $?
install
cargo install cargo-q --lockedRust ≥ 1.75 · Linux · macOS · Windows