macOS
brew install cargo-sweeplocal Homebrew formula metadata
brew / rank 3324
Utility for cleaning up unused build files generated by Cargo. Version 0.8.0 via Homebrew; verified 2026-07-17. Also installable with nix: nix profile install nixpkgs#cargo-sweep.
install
brew install cargo-sweeplocal Homebrew formula metadata
nix profile install nixpkgs#cargo-sweepnixpkgs package indexes · pkgs/by-name/ca/cargo-sweep/package.nix · source: api.github.com
sudo pacman -S cargo-sweepArch Linux sync databases · cargo-sweep · source: geo.mirror.pkgbuild.com
overview
Utility for cleaning up unused build files generated by Cargo
history
cargo-sweep is a Cargo subcommand for deleting old or unused build artifacts from target directories without running a full cargo clean.
The README describes cargo-sweep as a selective cleanup tool for Cargo build artifacts and currently marks the project as unmaintained while pointing users toward cargo-clean-all as an alternative.
GitHub records the repository as created in November 2018, and crates.io records the first cargo-sweep release in the same month. The input package facts list Homebrew, Nix, and Arch packages.
The official README documents cleaning by age, installed toolchains, maximum target-directory size, recursive project search, dry-run previews, and a timestamp workflow using `--stamp` and `--file`.
cargo-sweep is notable for Cargo users who accumulate large target directories or CI caches, because it offers narrower cleanup choices than Cargo's built-in `cargo clean`.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
cargo-sweep | executable | indexed executable | Discovered from the local executable index. |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:cargo-sweep |
|---|---|
| Version | 0.8.0 |
| Package manager | Homebrew |
| Homepage | https://github.com/holmgr/cargo-sweep |
| Repository | https://github.com/holmgr/cargo-sweep |
| Last updated | 2026-07-17T17:53:08+09:00 |
| Pulse | updated |
| Bottle | not recorded |
| Service | none declared |
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
cargo-sweep
nix profile install nixpkgs#cargo-sweepcargo-sweep 0.8.0-2
A cargo subcommand for cleaning up unused build files generated by Cargo
https://github.com/holmgr/cargo-sweep
sudo pacman -S cargo-sweepsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.