macOS
brew install cargo-sweeplocal Homebrew formula metadata
brew
Utility for cleaning up unused build files generated by Cargo. Version 0.8.0 via Homebrew; verified from local package data.
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 | cli | global executable |
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.
https://github.com/holmgr/cargo-sweep
install metadata
| Package key | brew:cargo-sweep |
|---|---|
| Version | 0.8.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/cargo-sweep |
| Homepage | https://github.com/holmgr/cargo-sweep |
| Repository | https://github.com/holmgr/cargo-sweep |
| Upstream docs | https://docs.rs/crate/cargo-sweep/latest |
| License | MIT |
| Source archive | https://github.com/holmgr/cargo-sweep/archive/refs/tags/v0.8.0.tar.gz |
| Build dependencies | rust |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | cargo-sweep |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
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.