Automic VaultAutomic Vault

brew

使用 Homebrew, apt, Nix, pacman, dnf 安装 cargo-binutils

查看 cargo-binutils 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install cargo-binutils

local Homebrew formula metadata

Linux

Debian apt已验证 · 92%
sudo apt install cargo-binutils

Debian stable package indexes · cargo-binutils · 来源: deb.debian.org

Nix已验证 · 92%
nix profile install nixpkgs#cargo-binutils

nixpkgs package indexes · pkgs/by-name/ca/cargo-binutils/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S cargo-binutils

Arch Linux sync databases · cargo-binutils · 来源: geo.mirror.pkgbuild.com

Fedora dnf已验证 · 92%
sudo dnf install rust-ar+default-devel

Fedora Rawhide package metadata · rust-ar+default-devel · 来源: dl.fedoraproject.org

概览

软件包摘要

Cargo subcommands to invoke the LLVM tools shipped with the Rust toolchain

命令和别名

  • cargo-cov
  • cargo-nm
  • cargo-objcopy
  • cargo-objdump
  • cargo-profdata
  • cargo-readobj
  • cargo-size
  • cargo-strip
  • rust-ar
  • rust-as
  • rust-cov
  • rust-ld
  • rust-lld
  • rust-nm
  • rust-objcopy
  • rust-objdump
  • rust-profdata
  • rust-readobj
  • rust-size
  • rust-strip

历史

项目历史与用法

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.

时间线

  • 2018-04-06: Current rust-embedded/cargo-binutils GitHub repository was created.
  • 2018-06-29: cargo-binutils 0.1.0 was published on crates.io with cargo-nm, cargo-objcopy, cargo-objdump, cargo-profdata, and cargo-size binaries.
  • 2018-12-19: The 0.1.6 crate metadata still referenced the earlier japaric/cargo-binutils repository.
  • 2020: The 0.2 and 0.3 lines expanded the proxy set with more rust-* and cargo-* LLVM tools.
  • 2025-08-26: Version 0.4.0 was published, listing the broader command set including cargo-cov, cargo-readobj, cargo-strip, rust-lld, and rust-as.

Related projects

  • rustup's llvm-tools component supplies the LLVM binaries that cargo-binutils invokes.
  • LLVM binutils such as llvm-nm, llvm-objdump, llvm-objcopy, llvm-size, llvm-readobj, and llvm-strip are the underlying tools exposed by the package.
  • The rust-embedded working group ecosystem is the cultural home for many of the workflows cargo-binutils targets.

来源

  • GitHub repository API metadata: https://api.github.com/repos/rust-embedded/cargo-binutils
  • Official README: https://github.com/rust-embedded/cargo-binutils#readme
  • Package-manager adoption from source_facts.package-manager.
  • crates.io API metadata and versions: https://crates.io/api/v1/crates/cargo-binutils

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
cargo-covcli全局可执行文件
cargo-nmcli全局可执行文件
cargo-objcopycli全局可执行文件
cargo-objdumpcli全局可执行文件
cargo-profdatacli全局可执行文件
cargo-readobjcli全局可执行文件
cargo-sizecli全局可执行文件
cargo-stripcli全局可执行文件
rust-arcli全局可执行文件
rust-ascli全局可执行文件
rust-covcli全局可执行文件
rust-ldcli全局可执行文件
rust-lldcli全局可执行文件
rust-nmcli全局可执行文件
rust-objcopycli全局可执行文件
rust-objdumpcli全局可执行文件
rust-profdatacli全局可执行文件
rust-readobjcli全局可执行文件
rust-sizecli全局可执行文件
rust-stripcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本0.4.0
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

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 DatabaseHomebrew formula API
Taphomebrew/core
Full Namecargo-binutils
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

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-binutils
  • Section: utils
  • Architecture: amd64
  • Source Package: rust-cargo-binutils
  • 2 依赖
  • normalized package name match
  • 匹配方式:Cargo Binutils
Debian stable package indexes · deb.debian.org · Debian stable package indexes: cargo-binutils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

cargo-binutils

nix profile install nixpkgs#cargo-binutils
  • normalized package name match
  • 匹配方式:Cargo Binutils
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ca/cargo-binutils/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

cargo-binutils 0.3.5-3

Proxy for LLVM tools like llvm-nm, llvm-objdump and llvm-size

sudo apt install cargo-binutils
  • Section: universe/utils
  • Architecture: amd64
  • Source Package: rust-cargo-binutils
  • 2 依赖
  • normalized package name match
  • 匹配方式:Cargo Binutils
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: cargo-binutils from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
pacman95%

cargo-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-binutils
  • License: Apache-2.0 AND MIT
  • Architecture: x86_64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Cargo Binutils
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: cargo-binutils from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
Debian apt92%

librust-ar-dev 0.9.0-1+b2

Encoding/decoding Unix archive files - Rust source code

sudo apt install librust-ar-dev
  • Section: rust
  • Architecture: amd64
  • Source Package: rust-ar
  • 7 提供
  • installed executable or alias match
  • 匹配方式:Rust Ar
Debian stable package indexes · deb.debian.org · Debian stable package indexes: librust-ar-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt92%

librust-ar-dev 0.9.0-1

Encoding/decoding Unix archive files - Rust source code

sudo apt install librust-ar-dev
  • Section: universe/rust
  • Architecture: amd64
  • Source Package: rust-ar
  • 7 提供
  • installed executable or alias match
  • 匹配方式:Rust Ar
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: librust-ar-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf92%

rust-ar+default-devel 0.9.0-6.fc44

Library for encoding/decoding Unix archive files

https://crates.io/crates/ar

sudo dnf install rust-ar+default-devel
  • License: MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: rust-ar
  • 2 依赖
  • 2 提供
  • installed executable or alias match
  • 匹配方式:Rust Ar
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: rust-ar+default-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf92%

rust-ar-devel 0.9.0-6.fc44

Library for encoding/decoding Unix archive files

https://crates.io/crates/ar

sudo dnf install rust-ar-devel
  • License: MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: rust-ar
  • 1 依赖
  • 2 提供
  • installed executable or alias match
  • 匹配方式:Rust Ar
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: rust-ar-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf92%

rust-size+default-devel 0.5.0-3.fc44

For expressing, formatting, and interacting with file sizes

https://crates.io/crates/size

sudo dnf install rust-size+default-devel
  • License: MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: rust-size
  • 2 依赖
  • 2 提供
  • installed executable or alias match
  • 匹配方式:Rust Size
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: rust-size+default-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf92%

rust-size+serde-devel 0.5.0-3.fc44

For expressing, formatting, and interacting with file sizes

https://crates.io/crates/size

sudo dnf install rust-size+serde-devel
  • License: MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: rust-size
  • 2 依赖
  • 2 提供
  • installed executable or alias match
  • 匹配方式:Rust Size
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: rust-size+serde-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf92%

rust-size+std-devel 0.5.0-3.fc44

For expressing, formatting, and interacting with file sizes

https://crates.io/crates/size

sudo dnf install rust-size+std-devel
  • License: MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: rust-size
  • 2 依赖
  • 2 提供
  • installed executable or alias match
  • 匹配方式:Rust Size
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: rust-size+std-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf92%

rust-size-devel 0.5.0-3.fc44

For expressing, formatting, and interacting with file sizes

https://crates.io/crates/size

sudo dnf install rust-size-devel
  • License: MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: rust-size
  • 1 依赖
  • 2 提供
  • installed executable or alias match
  • 匹配方式:Rust Size
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: rust-size-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment