macOS
brew install cargo-instrumentslocal Homebrew formula metadata
brew
Easily generate Instruments traces for your rust crate. Version 0.4.17 via Homebrew; verified 2026-06-22.
install
brew install cargo-instrumentslocal Homebrew formula metadata
overview
Easily generate Instruments traces for your rust crate
history
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.
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.
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.
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.
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.
security posture
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.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
cargo-instruments | cli | global executable |
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.
https://github.com/cmyr/cargo-instruments
install metadata
| Package key | brew:cargo-instruments |
|---|---|
| Version | 0.4.17 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/cargo-instruments |
| Homepage | https://github.com/cmyr/cargo-instruments |
| Repository | https://github.com/cmyr/cargo-instruments |
| Upstream docs | https://github.com/cmyr/cargo-instruments#readme |
| License | MIT |
| Source archive | https://github.com/cmyr/cargo-instruments/archive/refs/tags/v0.4.17.tar.gz |
| Last updated | 2026-06-22T14:02:58-07:00 |
| Pulse | updated |
| Dependencies | openssl@4 |
| Build dependencies | rust |
| Bottle | available (on arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | cargo-instruments |
| Version Scheme | 0 |
| Revision | 0 |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.