cargo-clone
« Back to VersTracker
Description:
Cargo subcommand to fetch the source code of a Rust crate
Type: Formula  |  Latest Version: 1.2.4@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: rust cargo cli development crate
Install: brew install cargo-clone
About:
cargo-clone is a Cargo subcommand that downloads the source code of a Rust crate directly to your local crate cache. It allows developers to quickly inspect, debug, or study the implementation of dependencies without manually finding repository URLs. This tool streamlines the process of understanding third-party code.
Key Features:
  • Fetches crate source to the local cargo cache
  • Supports specific versions or the latest release
  • Simple CLI integration as a Cargo subcommand
  • Useful for offline inspection of dependencies
Use Cases:
  • Debugging issues within a third-party dependency
  • Reading source code to understand API implementation
  • Studying Rust project structures and patterns
Alternatives:
  • cargo vendor – Vendors dependencies into the project directory, whereas cargo-clone fetches them to the global cache for inspection.
  • Manual git clone – Requires finding the repo URL manually; cargo-clone automates this lookup based on crate metadata.
License: Apache-2.0 OR MIT
Dependencies: openssl@3
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 5:56pm 0 VERSION_BUMP 149e060d