Automic VaultAutomic Vault

brew

Install cargo-instruments with Homebrew

Easily generate Instruments traces for your rust crate. Version 0.4.17 via Homebrew; verified 2026-06-22.

install

Additional install commands

macOS

Homebrewverified ยท 100%
brew install cargo-instruments

local Homebrew formula metadata

overview

Package summary

Easily generate Instruments traces for your rust crate

Commands and aliases

  • cargo-instruments

history

Project history and usage

cargo-instruments is a Cargo subcommand for profiling Rust binaries with Apple's Xcode Instruments. Its README describes it as glue between Cargo and Xcode's profiling suite, producing trace files that can be opened in Instruments.app.

Project history

The crate first appeared on crates.io in March 2019 and remains a macOS-focused tool: the official README says it requires macOS because it uses Instruments, selecting either the older instruments command or xcrun xctrace depending on the macOS version.

Adoption history

Homebrew packages cargo-instruments as a formula, and the official README presents brew install cargo-instruments as the simplest installation path. Crates.io metadata reported 47,159 downloads and version 0.4.17 when checked on 2026-06-30.

How it is used

Users run cargo instruments against a package binary, example, or benchmark target, choose an Instruments template such as Allocations or Time Profiler, and inspect the generated .trace output under target/instruments or another requested path.

Why package nerds care

It is a niche but useful bridge between the Rust package workflow and Apple's native profiler, notable because it exposes Instruments through a cargo subcommand instead of requiring users to manually stage and launch binaries.

Timeline

  • 2019: First crates.io release 0.1.0.
  • 2026: Crates.io latest version 0.4.17 and Homebrew stable version 0.4.17.

Related projects

  • Related tooling includes Cargo itself and Xcode Instruments; cargo-instruments delegates profiling to Apple's Instruments/xctrace tooling.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for cargo-instruments. Nucleus package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 4 platform targets.
  • Installs with 1 runtime dependencies.
  • Build metadata lists 1 build dependencies.

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-instrumentscliglobal executable

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-07-08
manager version0.4.17
manager updated2026-06-22
local dataok
upstreamcurrent
latest detectedv0.4.17

https://github.com/cmyr/cargo-instruments

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:cargo-instruments
Version0.4.17
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/cargo-instruments
Homepagehttps://github.com/cmyr/cargo-instruments
Repositoryhttps://github.com/cmyr/cargo-instruments
Upstream docshttps://github.com/cmyr/cargo-instruments#readme
LicenseMIT
Source archivehttps://github.com/cmyr/cargo-instruments/archive/refs/tags/v0.4.17.tar.gz
Last updated2026-06-22T14:02:58-07:00
Pulseupdated
Dependenciesopenssl@4
Build dependenciesrust
Bottleavailable (on arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecargo-instruments
Version Scheme0
Revision0
Requirements
  • macos
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

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
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment