macOS
brew install cargo-instalocal Homebrew formula metadata
brew
cargo-insta のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install cargo-instalocal Homebrew formula metadata
sudo apk add cargo-instaAlpine Linux edge package indexes · cargo-insta · ソース: dl-cdn.alpinelinux.org
sudo dnf install cargo-instaFedora Rawhide package metadata · cargo-insta · ソース: dl.fedoraproject.org
nix profile install nixpkgs#cargo-instanixpkgs package indexes · pkgs/by-name/ca/cargo-insta/package.nix · ソース: api.github.com
sudo pacman -S cargo-instaArch Linux sync databases · cargo-insta · ソース: geo.mirror.pkgbuild.com
概要
Snapshot testing CLI for Rust
履歴
Cargo Insta is the command-line companion to Insta, Armin Ronacher's snapshot testing library for Rust. It helps developers review, accept, reject, and update snapshot changes from Cargo workflows.
The CLI is not required for every snapshot test, but the official docs say it is required for inline snapshots and useful for snapshot review.
The Insta repository was created in January 2019, and the cargo-insta crate was first published that same month. The project combines a Rust testing library, a Cargo subcommand, website documentation, and editor support.
The README positions snapshot tests as approval-style tests that compare complex or frequently changing values against stored reference snapshots. It also notes that inline snapshots are handled through the companion cargo-insta tool.
The changelog documents both insta and cargo-insta together, showing the CLI evolving with snapshot review, nextest integration, non-interactive review modes, diff tooling, pending snapshot handling, and CI behavior.
Insta became a familiar Rust testing tool for projects that need readable diffs for large structured outputs, CLI output, serializers, generated code, and UI-like text fixtures.
cargo-insta's adoption follows from the review workflow: once snapshots are part of tests, maintainers need a convenient way to inspect pending changes, accept intended updates, reject regressions, and run checks in CI.
The official CLI docs describe `cargo insta review`, `accept`, `reject`, `pending-snapshots`, and `test`. The common loop is to run tests, inspect generated pending snapshots, and then accept or reject changes.
Configuration is workspace-local through `insta.yaml`; the docs say cargo-insta loads this config from the workspace to influence behavior, with settings documented on the official site.
cargo-insta is package-nerd significant because it packages a whole testing workflow, not just an assertion macro. The CLI, file formats, review commands, settings, and editor extension together make snapshot testing feel native to Rust package maintenance.
It also reflects a broader trend in developer tooling: tests increasingly produce reviewable artifacts, and package-manager subcommands become the interface for accepting those artifacts into the repository.
セキュリティ状態
cargo-insta に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
$CARGO_WORKSPACE/.config/insta.yaml$CARGO_WORKSPACE/insta.yaml$CARGO_WORKSPACE/.insta.yaml実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
cargo-insta | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/mitsuhiko/insta
インストールメタデータ
| パッケージキー | brew:cargo-insta |
|---|---|
| バージョン | 1.48.0 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/cargo-insta |
| ホームページ | https://insta.rs |
| リポジトリ | https://github.com/mitsuhiko/insta |
| 上流ドキュメント | https://insta.rs/docs |
| ライセンス | Apache-2.0 |
| ソースアーカイブ | https://github.com/mitsuhiko/insta/archive/refs/tags/1.48.0.tar.gz |
| 最終更新 | 2026-06-11T15:29:22Z |
| Pulse | updated |
| ビルド依存関係 | rust |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | cargo-insta |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
cargo-insta
nix profile install nixpkgs#cargo-instacargo-insta 1.44.3-r0
review tool for insta, a snapshot testing library for Rust
https://github.com/mitsuhiko/insta
sudo apk add cargo-instacargo-insta-doc 1.44.3-r0
review tool for insta, a snapshot testing library for Rust (documentation)
https://github.com/mitsuhiko/insta
sudo apk add cargo-insta-doccargo-insta 1.46.3-1.fc45
Review tool for the insta snapshot testing library for Rust
https://crates.io/crates/cargo-insta
sudo dnf install cargo-instacargo-insta 1.47.2-1
Cargo plugin for snapshot testing in Rust
https://github.com/mitsuhiko/insta
sudo pacman -S cargo-instaソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.