Package caches
Rust build output
Files Cargo keeps in target/debug and target/release to speed up the next build of a Rust project: compiled code, build script output and incremental build data. The program it built is kept.
- Label in AmpleCapacity
- Ask me
- Comes back on its own
- Yes
- Plan that clears it
- Developer plan
Where it is
**/target/debug/deps/**/target/debug/build/**/target/debug/incremental/**/target/debug/.fingerprint/**/target/release/deps/**/target/release/build/**/target/release/incremental/**/target/release/.fingerprint/
** means any folder, at any depth.
Does it come back?
Yes. Your next cargo build compiles everything again.
What changes for you if it goes
The next build of this project starts from scratch. That takes a few minutes for a small project, longer for a large one. The program it built is kept. Your own code is untouched.
How to remove it yourself
- Look inside your project folders for
target/debug/deps. Move that folder to the Trash if the project has not changed in the last 90 days. - Look inside your project folders for
target/debug/build. Move that folder to the Trash if the project has not changed in the last 90 days. - Look inside your project folders for
target/debug/incremental. Move that folder to the Trash if the project has not changed in the last 90 days. - Look inside your project folders for
target/debug/.fingerprint. Move that folder to the Trash if the project has not changed in the last 90 days. - Look inside your project folders for
target/release/deps. Move that folder to the Trash if the project has not changed in the last 90 days. - Look inside your project folders for
target/release/build. Move that folder to the Trash if the project has not changed in the last 90 days. - Look inside your project folders for
target/release/incremental. Move that folder to the Trash if the project has not changed in the last 90 days. - Look inside your project folders for
target/release/.fingerprint. Move that folder to the Trash if the project has not changed in the last 90 days.
- Look inside your project folders for
- Empty the Trash. Until you do, the files still take up space. Emptying the Trash cannot be undone.
How AmpleCapacity handles it
AmpleCapacity moves it to its recovery vault instead of deleting it. You can put it back for seven days. The space comes back when those seven days end, or sooner if you empty the vault yourself.
It is labelled Ask me, so the app never picks it for you. It moves only if you choose it.
It only moves items that have not changed in the last 90 days.
Scanning is free. Moving it to the vault needs the Developer plan.
What it leaves out
~/Library/**~/Applications/**/Applications/**/Library/**/System/**/opt/**/usr/**/private/**~/.*/****/*.app/**/Users/Shared/**
See what is on your Mac
The scan is free and changes nothing. It shows every item it finds, what made it, and what happens if it goes. You pay once, only if you want AmpleCapacity to clear it.
More in Package caches
- Python virtual environments Ask me
- Swift package build output Ask me
- Next.js build output Ask me
- npm cache Safe
- Yarn cache Safe
- pip cache Safe
- pnpm content-addressable store Safe
- Cargo registry cache Safe
- Go build cache Safe
- Go module cache Safe
- Homebrew download cache Safe
- CocoaPods cache Safe
- Gradle cache Safe
- Maven local repository Ask me
- node_modules in dormant projects Ask me
- Playwright browsers Ask me
- uv cache Ask me
- conda package downloads Safe
- Bun install cache Safe
- Deno module cache Safe