macOS
brew install cargo-clonelocal Homebrew formula metadata
brew
Cargo subcommand to fetch the source code of a Rust crate. Version 1.2.4 via Homebrew; verified 2026-06-22.
install
brew install cargo-clonelocal Homebrew formula metadata
nix profile install nixpkgs#cargo-clonenixpkgs package indexes · pkgs/by-name/ca/cargo-clone/package.nix · source: api.github.com
sudo pacman -S cargo-cloneArch Linux sync databases · cargo-clone · source: geo.mirror.pkgbuild.com
overview
Cargo subcommand to fetch the source code of a Rust crate
history
cargo-clone is a small Cargo subcommand that downloads the source code of crates from a registry. It fills a simple inspection gap: getting a crate's packaged source without manually navigating registry storage or repository metadata.
The GitHub repository was created in January 2016, early in Cargo's third-party subcommand culture. The README positions cargo-clone as a way to fetch Rust crate source from a registry and, optionally, clone the upstream git repository recorded in crate metadata.
cargo-clone is a niche utility rather than a broad platform component. Its adoption is visible through crates.io publication and packaging in Homebrew, Nix, and pacman, mostly serving developers who inspect crate contents or reproduce package sources.
Users run commands such as `cargo clone serde` or append a version requirement such as `cargo clone cargo-clone@1.0.0`. With `--git`, the tool uses the repository URL from crate metadata and delegates to git clone.
The tool matters to package nerds because it distinguishes registry source from repository source. That distinction is central to auditing Rust packages: the code published to crates.io is the artifact Cargo actually builds.
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-clone | 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/JanLikar/cargo-clone
install metadata
| Package key | brew:cargo-clone |
|---|---|
| Version | 1.2.4 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/cargo-clone |
| Homepage | https://github.com/JanLikar/cargo-clone |
| Repository | https://github.com/JanLikar/cargo-clone |
| Upstream docs | https://github.com/JanLikar/cargo-clone#readme |
| License | Apache-2.0 OR MIT |
| Source archive | https://github.com/JanLikar/cargo-clone/archive/refs/tags/v1.2.4.tar.gz |
| Last updated | 2026-06-22T14:02:57-07:00 |
| Pulse | updated |
| Dependencies | openssl@3 |
| Build dependencies | pkgconf, rust |
| Uses from macOS | curl |
| 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-clone |
| 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-clone
nix profile install nixpkgs#cargo-clonecargo-clone 1.2.4-2
A cargo subcommand to fetch the source code of a Rust crate
https://github.com/JanLikar/cargo-clone
sudo pacman -S cargo-clonesource 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.