Changelog
Fixed
- Rejected a
plan --json dry-run report (or an unrecognized file) passed to apply --plan, edit-plan --plan, or cargo-home apply --plan with an actionable error that points at --save-plan, instead of a raw serialization error about a missing id field (#1).
- Discovered a shared
CARGO_TARGET_DIR or build.target-dir that lives on a different filesystem than the project root without requiring --cross-filesystems; the flag now governs incidental traversal only, not explicitly configured output locations (#2).
- Recognized a cargo target directory by its
.rustc_info.json marker regardless of directory name, so a shared target directory named e.g. cargo-target is listed and cleanable; the generic CACHEDIR.TAG marker still requires the conventional target name (#2).
Changed
- Explained empty
list results, distinguishing "no Rust project found under the scanned roots" from "Rust projects found, but no cleanable target directories," in both terminal and JSON output.
Diff
https://github.com/ml-rust/cargo-reclaim/tree/v0.2.2