devel/cargo-cache 0.8.3_20 DragonFly
Rust: Manage cargo cache, print sizes of dirs, remove dirs selectively
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- APACHE20, MIT
- Categories
- devel
- Package size
- 1108.4 KiB, 3715.0 KiB installed
Description
cargo-cache is a Cargo plugin that allows to display information on the cargo cache (`~/.cargo/` or `$CARGO_HOME`). Optional cache pruning.
Key Features: * check the size of the cargo cache and its components (cmd: `cargo cache`) * do a simple cleanup removing checkouts but keeping original files needed for reconstruction on disk (`--autoclean`) * clean up everything (cargo will re-download as needed) * dry-run to see what would be removed (`--dry-run`) * recompress git repos (`--gc`) * search cache via regex queries (`cargo cache query "reg.*x"`) * print crates that take the most space (`--top-cache-items`) * alternative registries supported * remove files older or younger than X (`--remove-if-{older,younger}-than`) * builds and runs on `stable`, `beta` and `nightly` channel * purge cache entries not unused to build a specified crate (`cargo cache clean-unref`) * print size stats on a local sccache build cache (`cargo cache sc`) * verify extracted crate sources (`cargo cache verify`)
In the other systems
The newest version among them is 0.8.3, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| DragonFly | devel/cargo-cache | 0.8.3_20 newest | none known | - | [email protected] | - |
| FreeBSD | devel/cargo-cache | 0.8.3_22 newest | none known | - | [email protected] | 2026-10-14 |
| NetBSD | sysutils/cargo-cache by name | 0.8.3 newest | none known | - | [email protected] | - |
| HardenedBSD | devel/cargo-cache | 0.8.3_22 newest | no data | - | [email protected] | - |
| GhostBSD | devel/cargo-cache | 0.8.3_22 newest | no data | - | [email protected] | - |
Version history 1
- 0.8.3
Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.
Install
Binary package:
pkg install cargo-cache
From DPorts:
cd /usr/dports/devel/cargo-cache && make install clean
Dependencies
No port depends on this one.