{"added":null,"apiVersion":1,"behindSince":null,"buildDepends":[],"categories":["devel"],"comment":"Rust: Manage cargo cache, print sizes of dirs, remove dirs selectively","compare":"/compare/cargo-cache/index.json","dependentCount":null,"description":"cargo-cache is a Cargo plugin that allows to display information on the cargo\ncache (`~/.cargo/` or `$CARGO_HOME`). Optional cache pruning.\n\nKey Features:\n* check the size of the cargo cache and its components (cmd: `cargo cache`)\n* do a simple cleanup removing checkouts but keeping original files needed for\n  reconstruction on disk (`--autoclean`)\n* clean up everything (cargo will re-download as needed)\n* dry-run to see what would be removed (`--dry-run`)\n* recompress git repos (`--gc`)\n* search cache via regex queries (`cargo cache query \"reg.*x\"`)\n* print crates that take the most space (`--top-cache-items`)\n* alternative registries supported\n* remove files older or younger than X (`--remove-if-{older,younger}-than`)\n* builds and runs on `stable`, `beta` and `nightly` channel\n* purge cache entries not unused to build a specified crate (`cargo cache\n  clean-unref`)\n* print size stats on a local sccache build cache  (`cargo cache sc`)\n* verify extracted crate sources (`cargo cache verify`)","flavors":[],"html":"https://daemonports.org/dragonfly/devel/cargo-cache/","kind":"port","lastUpdate":null,"license":["APACHE20","MIT"],"licenses":["Apache-2.0","MIT"],"maintainer":"yuri@FreeBSD.org","name":"cargo-cache","newest":true,"newestVersion":"0.8.3","noVulnData":false,"origin":"devel/cargo-cache","otherSystems":[{"maintainer":"yuri@FreeBSD.org","newest":true,"origin":"devel/cargo-cache","path":"/devel/cargo-cache/","system":"FreeBSD","updated":"2026-10-14","version":"0.8.3_22"},{"maintainer":"pkgsrc-users@NetBSD.org","matchedBy":"name","newest":true,"origin":"sysutils/cargo-cache","path":"/netbsd/sysutils/cargo-cache/","system":"NetBSD","version":"0.8.3"},{"maintainer":"yuri@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/cargo-cache","path":"","system":"HardenedBSD","version":"0.8.3_22"},{"maintainer":"yuri@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/cargo-cache","path":"","system":"GhostBSD","version":"0.8.3_22"}],"packages":null,"pkgName":"cargo-cache-0.8.3_20","related":null,"repository":"DPorts","requiredBy":[],"requiredByCount":0,"runDepends":[],"status":null,"system":"dragonfly","systemLabel":"DragonFly","version":"0.8.3_20","versions":[{"date":"2026-11-11","version":"0.8.3"}],"vulnerabilities":null,"www":"https://github.com/matthiaskrgr/cargo-cache"}
