Find
Every target folder
Scans your open project and any folders you add, up to six levels deep, skipping node_modules and version-control folders.
Cargo Cleaner, built into Ruststudio, finds every Rust target folder and cargo cache on your disk, shows their size and age, and deletes only the ones you select, and only folders Cargo can rebuild.
Updated · describes Ruststudio 0.1.7

Every Rust project leaves a target folder that can grow past ten gigabytes, and cargo keeps every crate you ever downloaded. Find them all, see what is stale, and clear it safely.
Interactive
Say what you want back. You get the command, what it frees, whether it is safe, and what the next build will cost.
cargo clean # in the project folder: removes its whole target directory
cargo clean --dry-run # first, if you want to see what would goFind
Scans your open project and any folders you add, up to six levels deep, skipping node_modules and version-control folders.
See
Each target shows when it was last built, and its debug, release and incremental parts, so you can drop only the biggest.
Caches
Lists the registry cache, extracted sources and git checkouts. All of them are fetched again when needed.
Safe
It refuses to delete anything that is not a cargo target (with cargo's own tag file and a Cargo.toml beside it) or one of cargo's cache folders.
Select
Select stale picks every target not built for 30 days. You confirm before anything is deleted.
Try it
See every target folder and cache with its size and age, select the stale ones, and clean.
26.9 GB in 7 cargo folders
Try it: Select stale, look at what is chosen, clean, or tick the “not a cargo folder” row to see the safety check.
Cargo keeps a separate build for every profile and every dependency version, plus incremental caches that make the next build faster. On a busy machine with a dozen projects that adds up to tens of gigabytes, and cargo clean only helps one project at a time.
The Cargo Cleaner shows all of them in one list, largest first, with the project name and last-built date, so you can see at a glance which old experiments are costing you space.

Press Ctrl+Shift+L, or click the target size in the status bar. The status bar shows the size of the open solution's target folder after every build, so you notice growth before it becomes a problem.
Something else? Ask in the community forum or send feedback.
No. cargo clean removes the target folder of the one project you run it in; Cargo has no command that cleans every project. The Cargo Cleaner in Ruststudio lists every target folder under the folders you choose and cleans the ones you tick.
It can. Automatic cleaning removes the target folders of projects that have not been built for 30 days and trims the open project’s caches when they grow large, in the background. It leaves alone anything written in the last few minutes, and you can switch it off.
No. It can only delete cargo target folders (and folders inside them) and cargo's download caches. Your source stays untouched, and you confirm each deletion.
The next build is slower once, because cargo rebuilds what was removed. Cargo caches are downloaded again when a build needs them.
Delete old target folders first, then the registry cache and sources in the .cargo folder; Cargo downloads what it needs again. Ruststudio’s Cargo Cleaner lists all of them with size and age and removes the ones you select. Keep .cargo/bin, which holds cargo itself.
Yes. Add any folder as a scan folder and it finds every cargo target under it.
Yes. Ruststudio is free for personal and commercial use, with no licence key and nothing to pay. Use it for 7 days straight away; after that you sign up for a free account with your e-mail address. It is closed-source freeware.
Ruststudio is a product of FOWLGUARD, Inc., the company behind Fowlguard Secure and Fowlguard Productivity. It is one of its free tools; see fowlguard.com.
Windows 10 and 11 (64-bit), macOS 11 or later (Apple silicon and Intel) and Linux (x86-64, X11 or Wayland). You can build for the desktop, the web and Android from it. Native iOS support is in development and will need a Mac with Xcode.