A cargo subcommand that runs a user-provided Cargo command and prints a minimal summary of what was recompiled.
By default it does not forward Cargo's own output (no Fresh ... spam, no build script warnings). Instead, it:
- Streams only crates that actually did work (compile/check/build)
- Prints a final summary line (time + counts)
From this repo:
cargo install --path .Run your normal cargo command via cargo dirty:
cargo dirty check --workspace --all-targetsStream in a more deterministic order (adds --jobs=1 to Cargo unless you already set jobs):
cargo dirty --linear check --workspace --all-targetsShow fresh crates too:
cargo dirty --show-fresh check --workspace --all-targetsEnable deep fingerprint tracing (best-effort; mainly useful for debugging):
cargo dirty --deep check --workspace --all-targets- On success, output is intentionally terse.
- On failure, only compiler errors are printed (from Cargo JSON messages).
- Invalidation reasons are best-effort from Cargo
-vvstatus lines (e.g.Dirty ...: ...).