macOS
brew install cargo-clonelocal Homebrew formula metadata
安装
brew install cargo-clonelocal Homebrew formula metadata
nix profile install nixpkgs#cargo-clonenixpkgs package indexes · pkgs/by-name/ca/cargo-clone/package.nix · 来源: api.github.com
sudo pacman -S cargo-cloneArch Linux sync databases · cargo-clone · 来源: geo.mirror.pkgbuild.com
概览
Cargo subcommand to fetch the source code of a Rust crate
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
cargo-clone | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/JanLikar/cargo-clone
安装元数据
| 软件包键 | brew:cargo-clone |
|---|---|
| 版本 | 1.2.4 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/cargo-clone |
| 主页 | https://github.com/JanLikar/cargo-clone |
| 仓库 | https://github.com/JanLikar/cargo-clone |
| 上游文档 | https://github.com/JanLikar/cargo-clone#readme |
| 许可证 | Apache-2.0 OR MIT |
| 源码归档 | https://github.com/JanLikar/cargo-clone/archive/refs/tags/v1.2.4.tar.gz |
| 最后更新 | 2026-06-22T14:02:57-07:00 |
| Pulse | updated |
| 依赖 | openssl@3 |
| 构建依赖 | pkgconf, rust |
| macOS 提供的库 | curl |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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-clone来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.