macOS
brew install cargo-binutilslocal Homebrew formula metadata
安装
brew install cargo-binutilslocal Homebrew formula metadata
sudo apt install cargo-binutilsDebian stable package indexes · cargo-binutils · 来源: deb.debian.org
nix profile install nixpkgs#cargo-binutilsnixpkgs package indexes · pkgs/by-name/ca/cargo-binutils/package.nix · 来源: api.github.com
sudo pacman -S cargo-binutilsArch Linux sync databases · cargo-binutils · 来源: geo.mirror.pkgbuild.com
sudo dnf install rust-ar+default-develFedora Rawhide package metadata · rust-ar+default-devel · 来源: dl.fedoraproject.org
概览
Cargo subcommands to invoke the LLVM tools shipped with the Rust toolchain
历史
cargo-binutils is a Cargo subcommand suite that makes the LLVM binary-inspection tools shipped in Rust toolchains feel like native Cargo workflows. It provides rust-* proxies for LLVM tools and cargo-* commands that can build a Rust target and then inspect the resulting artifact.
The crate appeared on crates.io in June 2018 as a proxy for llvm-nm, llvm-objdump, llvm-size, and related tools. Early crate metadata pointed at Jorge Aparicio's japaric/cargo-binutils repository, and the project later settled under the rust-embedded organization, where the README says it is maintained by the Embedded Working Group Tools team while also noting that it is not an official Rust project.
Its scope grew from a small set of cargo-nm, cargo-objcopy, cargo-objdump, cargo-profdata, and cargo-size commands into a broader wrapper set that also includes rust-* command proxies such as rust-objcopy, rust-size, rust-readobj, rust-strip, rust-lld, and rust-cov. The current README frames the tool as sugar over LLVM tools from rustup's llvm-tools component.
cargo-binutils became a standard convenience tool in embedded Rust because it connects Cargo builds with artifact inspection commands that embedded developers already need for symbol tables, section sizes, disassembly, and binary conversion. Its maintenance home in rust-embedded and its packaging across Homebrew, Debian, Ubuntu, Nix, pacman, and Fedora-style package names reflect that it escaped the purely crates.io audience.
Crates.io reports more than 2.7 million total downloads and the current crate metadata classifies it under command-line utilities and development tools. That adoption is reinforced by rustup's llvm-tools component: cargo-binutils does not ship its own LLVM, it makes the toolchain-provided LLVM tools easier to call.
A typical installation is `cargo install cargo-binutils` followed by `rustup component add llvm-tools`. Users then run commands such as `cargo size --release`, `cargo objdump --release -- --disassemble`, `cargo nm --release`, or the lower-level `rust-size` and `rust-objdump` proxies.
The important usage pattern is build-and-inspect: cargo-binutils can accept familiar Cargo selectors such as `--bin`, `--example`, `--lib`, `--target`, and `--release`, build the requested target, and pass the generated artifact path to the LLVM tool.
For package nerds, cargo-binutils is interesting because it packages compiler-toolchain internals as stable-feeling Cargo subcommands without vendoring the underlying tools. It sits at the boundary between rustup components, LLVM command naming, Cargo metadata, and distribution packaging.
It is especially notable in embedded packaging culture: size reports, symbol listings, object copying, and disassembly are routine release tasks for firmware, and cargo-binutils made those tasks reproducible from a Rust package-manager workflow.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
cargo-cov | cli | 全局可执行文件 | |
cargo-nm | cli | 全局可执行文件 | |
cargo-objcopy | cli | 全局可执行文件 | |
cargo-objdump | cli | 全局可执行文件 | |
cargo-profdata | cli | 全局可执行文件 | |
cargo-readobj | cli | 全局可执行文件 | |
cargo-size | cli | 全局可执行文件 | |
cargo-strip | cli | 全局可执行文件 | |
rust-ar | cli | 全局可执行文件 | |
rust-as | cli | 全局可执行文件 | |
rust-cov | cli | 全局可执行文件 | |
rust-ld | cli | 全局可执行文件 | |
rust-lld | cli | 全局可执行文件 | |
rust-nm | cli | 全局可执行文件 | |
rust-objcopy | cli | 全局可执行文件 | |
rust-objdump | cli | 全局可执行文件 | |
rust-profdata | cli | 全局可执行文件 | |
rust-readobj | cli | 全局可执行文件 | |
rust-size | cli | 全局可执行文件 | |
rust-strip | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/rust-embedded/cargo-binutils
安装元数据
| 软件包键 | brew:cargo-binutils |
|---|---|
| 版本 | 0.4.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/cargo-binutils |
| 主页 | https://github.com/rust-embedded/cargo-binutils |
| 仓库 | https://github.com/rust-embedded/cargo-binutils |
| 上游文档 | https://github.com/rust-embedded/cargo-binutils#readme |
| 许可证 | Apache-2.0 OR MIT |
| 源码归档 | https://static.crates.io/crates/cargo-binutils/cargo-binutils-0.4.0.crate |
| 构建依赖 | rust |
| 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-binutils |
| 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-binutils 0.3.6-2+b1
Proxy for LLVM tools like llvm-nm, llvm-objdump and llvm-size
https://github.com/rust-embedded/cargo-binutils/
sudo apt install cargo-binutilscargo-binutils
nix profile install nixpkgs#cargo-binutilscargo-binutils 0.3.5-3
Proxy for LLVM tools like llvm-nm, llvm-objdump and llvm-size
sudo apt install cargo-binutilscargo-binutils 0.4.0-1
Cargo subcommands to invoke the LLVM tools shipped with the Rust toolchain
https://github.com/rust-embedded/cargo-binutils
sudo pacman -S cargo-binutilslibrust-ar-dev 0.9.0-1+b2
Encoding/decoding Unix archive files - Rust source code
sudo apt install librust-ar-devlibrust-ar-dev 0.9.0-1
Encoding/decoding Unix archive files - Rust source code
sudo apt install librust-ar-devrust-ar+default-devel 0.9.0-6.fc44
Library for encoding/decoding Unix archive files
sudo dnf install rust-ar+default-develrust-ar-devel 0.9.0-6.fc44
Library for encoding/decoding Unix archive files
sudo dnf install rust-ar-develrust-size+default-devel 0.5.0-3.fc44
For expressing, formatting, and interacting with file sizes
sudo dnf install rust-size+default-develrust-size+serde-devel 0.5.0-3.fc44
For expressing, formatting, and interacting with file sizes
sudo dnf install rust-size+serde-develrust-size+std-devel 0.5.0-3.fc44
For expressing, formatting, and interacting with file sizes
sudo dnf install rust-size+std-develrust-size-devel 0.5.0-3.fc44
For expressing, formatting, and interacting with file sizes
sudo dnf install rust-size-devel来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.