# cargo-instruments を Homebrew でインストール

cargo-instruments のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:cargo-instruments
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install cargo-instruments
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:cargo-instruments
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/cargo-instruments>
- **バージョン:** 0.4.17
- **ソース概要:** Easily generate Instruments traces for your rust crate
- **ホームページ:** <https://github.com/cmyr/cargo-instruments>
- **リポジトリ:** <https://github.com/cmyr/cargo-instruments>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/cmyr/cargo-instruments/archive/refs/tags/v0.4.17.tar.gz>
- **最終更新:** 2026-06-22T14:02:58-07:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- cargo-instruments (cli)
- cargo-instruments (エイリアス)

## 依存関係

- openssl@4

## ビルド依存関係

- rust

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 0.4.17
- マネージャ更新日: 2026-06-22
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/cmyr/cargo-instruments
- 検出された最新: v0.4.17 (最新)
## プロジェクトの歴史と使われ方

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.

### タイムライン

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

### ソース

- <https://api.github.com/repos/cmyr/cargo-instruments>
- <https://github.com/cmyr/cargo-instruments>
- <https://github.com/cmyr/cargo-instruments#readme>
- <https://crates.io/api/v1/crates/cargo-instruments>
- <https://formulae.brew.sh/api/formula/cargo-instruments.json>


## セキュリティノート

cargo-instruments に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、パッケージメタデータはここに公開されています。


## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** cargo-instruments
- **Version Scheme:** 0
- **Revision:** 0
- **Requirements:** macos
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Package publisher tools](https://pkg.so/ja/package-publishers/) - Belongs to a package publishing or registry command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [openssl@4](https://pkg.so/ja/brew/openssl-4/) - Runtime dependency declared by Homebrew.
- [rust](https://pkg.so/ja/brew/rust/) - Build dependency declared by Homebrew.
- [cargo-flamegraph](https://pkg.so/ja/brew/cargo-flamegraph/) - Shares pkgdb curated category or tags: cargo, cli, developer-tools, profiling, rust.
- [cargo-bloat](https://pkg.so/ja/brew/cargo-bloat/) - Shares pkgdb curated category or tags: cargo, cli, developer-tools, profiling, rust.
- [cargo-careful](https://pkg.so/ja/brew/cargo-careful/) - Shares pkgdb curated category or tags: cargo, cli, debugging, developer-tools, rust.
- [cargo-binstall](https://pkg.so/ja/brew/cargo-binstall/) - Shares pkgdb curated category or tags: cargo, cli, developer-tools, rust.
- [cargo-c](https://pkg.so/ja/brew/cargo-c/) - Shares pkgdb curated category or tags: cargo, cli, developer-tools, rust.
- [cargo-nextest](https://pkg.so/ja/brew/cargo-nextest/) - Shares pkgdb curated category or tags: cargo, cli, developer-tools, rust.
- [cargo-edit](https://pkg.so/ja/brew/cargo-edit/) - Shares pkgdb curated category or tags: cargo, cli, developer-tools, rust.
- [cargo-update](https://pkg.so/ja/brew/cargo-update/) - Shares pkgdb curated category or tags: cargo, cli, developer-tools, rust.
- [cargo-clone](https://pkg.so/ja/brew/cargo-clone/) - Both packages touch the same language runtime or ecosystem. Shared terms: cargo, cli, crate, developer, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/cargo-instruments.yml](https://github.com/mxcl/pkgdb/blob/main/combined/cargo-instruments.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
