pkg.soopen package index

brew / rank 7029

Install cargo-binutils with Homebrew, apt, Nix, pacman, dnf

Cargo subcommands to invoke the LLVM tools shipped with the Rust toolchain. Version 0.4.0 via Homebrew; verified from local package data. Also installable with debian: sudo apt install cargo-binutils.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install cargo-binutils

local Homebrew formula metadata

Linux

Debian aptverified · 92%
sudo apt install cargo-binutils

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

Nixverified · 92%
nix profile install nixpkgs#cargo-binutils

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

Arch Linux pacmanverified · 92%
sudo pacman -S cargo-binutils

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

Fedora dnfverified · 92%
sudo dnf install rust-ar+default-devel

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

overview

Package summary

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

Commands and aliases

  • 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

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

Sources

  • 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

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
cargo-covexecutableindexed executableDiscovered from the local executable index.
cargo-nmexecutableindexed executableDiscovered from the local executable index.
cargo-objcopyexecutableindexed executableDiscovered from the local executable index.
cargo-objdumpexecutableindexed executableDiscovered from the local executable index.
cargo-profdataexecutableindexed executableDiscovered from the local executable index.
cargo-readobjexecutableindexed executableDiscovered from the local executable index.
cargo-sizeexecutableindexed executableDiscovered from the local executable index.
cargo-stripexecutableindexed executableDiscovered from the local executable index.
rust-arexecutableindexed executableDiscovered from the local executable index.
rust-asexecutableindexed executableDiscovered from the local executable index.
rust-covexecutableindexed executableDiscovered from the local executable index.
rust-ldexecutableindexed executableDiscovered from the local executable index.
rust-lldexecutableindexed executableDiscovered from the local executable index.
rust-nmexecutableindexed executableDiscovered from the local executable index.
rust-objcopyexecutableindexed executableDiscovered from the local executable index.
rust-objdumpexecutableindexed executableDiscovered from the local executable index.
rust-profdataexecutableindexed executableDiscovered from the local executable index.
rust-readobjexecutableindexed executableDiscovered from the local executable index.
rust-sizeexecutableindexed executableDiscovered from the local executable index.
rust-stripexecutableindexed executableDiscovered from the local executable index.

freshness

Version and 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.

page generated2026-08-03
manager version0.4.0
manager updated
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:cargo-binutils
Version0.4.0
Package managerHomebrew
Homepagehttps://github.com/rust-embedded/cargo-binutils
Repositoryhttps://github.com/rust-embedded/cargo-binutils
Bottlenot recorded
Servicenone declared

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

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 dependencies
  • normalized package name match
  • Matched by: 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
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 provides
  • installed executable or alias match
  • Matched by: 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 provides
  • installed executable or alias match
  • Matched by: 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-7.fc45

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 dependencies
  • 2 provides
  • installed executable or alias match
  • Matched by: 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
dnf92%

rust-ar-devel 0.9.0-7.fc45

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 dependencies
  • 3 provides
  • installed executable or alias match
  • Matched by: 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
dnf92%

rust-size+default-devel 0.5.0-4.fc45

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 dependencies
  • 2 provides
  • installed executable or alias match
  • Matched by: 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
dnf92%

rust-size+serde-devel 0.5.0-4.fc45

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 dependencies
  • 2 provides
  • installed executable or alias match
  • Matched by: 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
dnf92%

rust-size+std-devel 0.5.0-4.fc45

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 dependencies
  • 2 provides
  • installed executable or alias match
  • Matched by: 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
dnf92%

rust-size-devel 0.5.0-4.fc45

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 dependencies
  • 3 provides
  • installed executable or alias match
  • Matched by: 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation