Hey everyone, I just released
Cargo cache is a small tool that helps manage and inspect cargos local every-growing download cache, the place where it stores all the crate dependencies downloaded from crates.io.
Most notably is the update to clap 3 and a new
cargo cache verify will try to find corrupted or modified crate sources in cargos download cache. I got the idea when one of the rustc devs got test failures inside rustc because they forgot they had modified the crate sources of one of the dependencies of rustc. If any of the files of the extracted sources have a different size, are missing from or cannot be found in the corresponding
cargo-cache verify will be able to tell you and offer to remove the corrupted sources (don't worry,
cargo build will re-extract it automatically if it needs it again).