Automic VaultAutomic Vault

brew

使用 Homebrew 安装 cargo-instruments

查看 cargo-instruments 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install cargo-instruments

local Homebrew formula metadata

概览

软件包摘要

Easily generate Instruments traces for your rust crate

命令和别名

  • cargo-instruments

历史

项目历史与用法

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.

安全态势

尚未找到受保护工具覆盖

没有找到 cargo-instruments 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 4 个平台目标。
  • 安装时包含 1 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
cargo-instrumentscli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本0.4.17
管理器更新时间2026-06-22
本地数据OK
上游当前
检测到的最新版本v0.4.17

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

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:cargo-instruments
版本0.4.17
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/cargo-instruments
主页https://github.com/cmyr/cargo-instruments
仓库https://github.com/cmyr/cargo-instruments
上游文档https://github.com/cmyr/cargo-instruments#readme
许可证MIT
源码归档https://github.com/cmyr/cargo-instruments/archive/refs/tags/v0.4.17.tar.gz
最后更新2026-06-22T14:02:58-07:00
Pulseupdated
依赖openssl@4
构建依赖rust
Bottle可用 (于 arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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