Automic VaultAutomic Vault

brew

cargo-insta mit Homebrew, apk, dnf, Nix, pacman installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für cargo-insta in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install cargo-insta

local Homebrew formula metadata

Linux

Alpine Linux apkverifiziert · 92%
sudo apk add cargo-insta

Alpine Linux edge package indexes · cargo-insta · Quelle: dl-cdn.alpinelinux.org

Fedora dnfverifiziert · 92%
sudo dnf install cargo-insta

Fedora Rawhide package metadata · cargo-insta · Quelle: dl.fedoraproject.org

Nixverifiziert · 92%
nix profile install nixpkgs#cargo-insta

nixpkgs package indexes · pkgs/by-name/ca/cargo-insta/package.nix · Quelle: api.github.com

Arch Linux pacmanverifiziert · 92%
sudo pacman -S cargo-insta

Arch Linux sync databases · cargo-insta · Quelle: geo.mirror.pkgbuild.com

Überblick

Paketzusammenfassung

Snapshot testing CLI for Rust

Befehle und Aliase

  • cargo-insta

Verlauf

Projektgeschichte und Nutzung

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.

Projektgeschichte

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.

Adoptionsgeschichte

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.

Wie es verwendet wird

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.

Warum Paket-Nerds sich dafür interessieren

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.

Zeitleiste

  • 2019-01-13: Insta GitHub repository created.
  • 2019-01-18: cargo-insta 0.2.0 first published to crates.io.
  • 2020s: Project adds inline snapshots, review tooling, settings, VS Code support, and nextest-aware workflows.
  • 2026: cargo-insta 1.48.0 changelog includes CI behavior, snapshot filtering, and review workflow fixes; crate exceeds 1.4 million downloads.

Related projects

  • insta is the Rust snapshot testing library that cargo-insta supports.
  • similar and similar-asserts are related diffing projects by the same author, mentioned in the Insta README.
  • cargo-nextest is integrated into cargo-insta test workflows according to the changelog and CLI options.

Sicherheitslage

Noch keine Protected-Tool-Abdeckung gefunden

Für cargo-insta wurde kein passendes lokales Secret-Handling-Manifest gefunden. Nucleus-Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 6 Plattformziele verfügbar.
  • Build-Metadaten listen 1 Build-Abhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
$CARGO_WORKSPACE/.config/insta.yaml$CARGO_WORKSPACE/insta.yaml$CARGO_WORKSPACE/.insta.yaml

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
cargo-instacliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-07-25
Manager-Version1.48.0
Manager aktualisiert2026-06-11
lokale DatenOK
Upstreamaktuell
neueste erkannte Version1.48.0

https://github.com/mitsuhiko/insta

  • OKEs wurden keine Aktualitätswarnungen generiert.

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:cargo-insta
Version1.48.0
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/cargo-insta
Homepagehttps://insta.rs
Repositoryhttps://github.com/mitsuhiko/insta
Upstream-Dokumentationhttps://insta.rs/docs
LizenzApache-2.0
Quellarchivhttps://github.com/mitsuhiko/insta/archive/refs/tags/1.48.0.tar.gz
Zuletzt aktualisiert2026-06-11T15:29:22Z
Pulseupdated
Build-Abhängigkeitenrust
Bottleverfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecargo-insta
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Nix95%

cargo-insta

nix profile install nixpkgs#cargo-insta
  • normalized package name match
  • Abgeglichen nach: Cargo Insta
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ca/cargo-insta/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

cargo-insta 1.44.3-r0

review tool for insta, a snapshot testing library for Rust

https://github.com/mitsuhiko/insta

sudo apk add cargo-insta
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: cargo-insta
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Cargo Insta
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cargo-insta from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

cargo-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-doc
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: cargo-insta
  • normalized package name match
  • Abgeglichen nach: Cargo Insta
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cargo-insta-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

cargo-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-insta
  • License: Apache-2.0 AND MIT AND Unicode-3.0 AND Unicode-DFS-2016 AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (Unlicense OR MIT)
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: rust-cargo-insta
  • 5 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Cargo Insta
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: cargo-insta from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

cargo-insta 1.47.2-1

Cargo plugin for snapshot testing in Rust

https://github.com/mitsuhiko/insta

sudo pacman -S cargo-insta
  • License: Apache-2.0
  • Architecture: x86_64
  • 3 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Cargo Insta
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: cargo-insta from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment