# Installer cargo-instruments avec Homebrew

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de cargo-instruments pour les workflows d'agents IA.

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

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

  Preuve: local Homebrew formula metadata

## Faits du paquet

- **Clé du paquet:** brew:cargo-instruments
- **Gestionnaire de paquets:** Homebrew
- **Version:** 0.4.17
- **Résumé source:** Easily generate Instruments traces for your rust crate
- **Page d'accueil:** <https://github.com/cmyr/cargo-instruments>
- **Dépôt:** <https://github.com/cmyr/cargo-instruments>
- **Dernière mise à jour:** 2026-06-22T14:02:58-07:00
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- cargo-instruments (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 0.4.17
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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

### Sources

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


## Notes de sécurité

Aucun manifest local de gestion des secrets correspondant n'a été trouvé pour cargo-instruments. Les métadonnées de paquet Nucleus restent publiées ici afin que la couverture future dispose d'une URL stable.



## 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)


## Sources

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