cargo-cache
« Back to VersTracker
Description:
Display information on the cargo cache, plus optional cache pruning
Type: Formula  |  Latest Version: 0.8.3@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: rust cargo cache cli developer-tools
Install: brew install cargo-cache
About:
cargo-cache is a command-line utility that inspects the local Cargo cache, providing detailed statistics on downloaded crates and registry indices. It helps developers understand disk usage and identify opportunities for cleanup. The tool also supports optional pruning to remove old or unused files, optimizing storage space.
Key Features:
  • Displays detailed cache statistics (crate sizes, download counts)
  • Supports optional cache pruning and cleanup
  • Fast, read-only inspection mode for quick analysis
  • Cross-platform support via Rust
Use Cases:
  • Diagnosing disk space issues caused by Rust project dependencies
  • Auditing crate downloads and cache contents for CI/CD optimization
  • Routine cache maintenance to improve system performance
Alternatives:
  • cargo clean – Built-in Cargo command that removes all build artifacts but lacks granular cache inspection or selective pruning.
  • du -sh ~/.cargo/registry – Basic disk usage check; provides no crate-level details or pruning features.
License: Apache-2.0 OR MIT
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, arm64_ventura, sonoma, ventura, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Sep 12, 2025 6:02pm 0 VERSION_BUMP d554bc5a