#cargo-cache #cache #wash #cargo #plugin #cli

app cargo-wash

A tool to clean up your Cargo caches

14 releases (5 stable)

Uses new Rust 2024

new 1.2.2 Apr 26, 2025
1.1.0 Mar 28, 2025
0.2.5 Feb 25, 2025
0.2.3 Dec 22, 2024
0.2.2 Oct 19, 2024

#102 in Cargo plugins

Download history 135/week @ 2025-01-08 15/week @ 2025-01-15 7/week @ 2025-02-05 60/week @ 2025-02-19 97/week @ 2025-02-26 2/week @ 2025-03-05 253/week @ 2025-03-26 10/week @ 2025-04-02 292/week @ 2025-04-16 147/week @ 2025-04-23

465 downloads per month

MIT license

29KB
639 lines

cargo-wash

Crates.io MIT licensed CI

cargo-wash is a tool to clean up your Cargo workspaces. It can show the size of all your target folders, and delete them if you want.

Usage

A tool to clean up your Cargo caches

Usage: cargo-wash <COMMAND>

Commands:
  clean  Execute `cargo clean` on all projects to remove build artifacts
  stats  Print statistics about all Rust projects in the directory
  help   Print this message or the help of the given subcommand(s)

Options:
  -h, --help     Print help
  -V, --version  Print version

Installation

You can install cargo-wash using cargo:

cargo install cargo-wash

or with cargo-binstall:

cargo binstall cargo-wash

Dependencies

~5–13MB
~147K SLoC