# insta

Snapshot testing library for Rust that stores expected values as snapshot files and shows the diff when a test output changes.


Source: https://findsoftware.frbit.cloud/insta/
Last reviewed: 2026-11-16
Listed since: 2026-11-16

## Record

### Links

- home: https://insta.rs/
- repository: https://github.com/mitsuhiko/insta
- docs: https://insta.rs/docs/quickstart/

### Identity

- status: active
- maintainer: Armin Ronacher
- maintainerType: individual
- parent: unknown
- firstRelease: 2019
- hqCountry: unknown

### Kind

- category: testing
- hosting: not applicable
- language: rust
- runtime: binary
- runtimeMin: not applicable
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: local
- renderingModes: not applicable
- installMethod: cargo add --dev insta (crates.io), cargo-insta installer script (curl or PowerShell), cargo install cargo-insta

### License

- licenseModel: open-source
- license: Apache-2.0

### Releases

- currentMajor: 1
- latestReleaseDate: 2026-10-03

### Adoption

- githubStargazers: 2987
- packagistDownloads: not applicable
- npmWeeklyDownloads: not applicable
- contributors: 83
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 1542
- dependentPackages: 851

### Sources

- urls: https://insta.rs/ (read 2026-11-16)
- urls: https://api.github.com/repos/mitsuhiko/insta (read 2026-11-16)
- urls: https://insta.rs/docs/quickstart/ (read 2026-11-16)
- maintainer: https://github.com/mitsuhiko/insta/blob/1.49.0/insta/Cargo.toml (read 2026-11-16)
- maintainerType: https://github.com/mitsuhiko/insta/blob/1.49.0/insta/Cargo.toml (read 2026-11-16)
- language: https://api.github.com/repos/mitsuhiko/insta (read 2026-11-16)
- category: https://github.com/mitsuhiko/insta/blob/master/README.md (read 2026-11-16)
- runtime: https://github.com/mitsuhiko/insta/blob/master/README.md (read 2026-11-16)
- runsAs: https://insta.rs/docs/quickstart/ (read 2026-11-16)
- installMethod: https://insta.rs/docs/quickstart/ (read 2026-11-16)
- installMethod: https://insta.rs/docs/cli/ (read 2026-11-16)
- installMethod: https://insta.rs/docs/cli/ (read 2026-11-16)
- license: https://github.com/mitsuhiko/insta/blob/master/README.md (read 2026-11-16)
- licenseModel: https://github.com/mitsuhiko/insta/blob/master/README.md (read 2026-11-16)
- currentMajor: https://api.github.com/repos/mitsuhiko/insta/releases/latest (read 2026-11-16)
- latestReleaseDate: https://api.github.com/repos/mitsuhiko/insta/releases/latest (read 2026-11-16)
- firstRelease: https://crates.io/api/v1/crates/insta (read 2026-11-16)
- githubStargazers: https://api.github.com/repos/mitsuhiko/insta (read 2026-11-16)
- contributors: https://api.github.com/repos/mitsuhiko/insta/contributors?per_page=1 (read 2026-11-16)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/insta (read 2026-11-16)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/insta (read 2026-11-16)

## Notes

insta is a snapshot testing library for Rust. A test compares a value against a reference snapshot that the library stores and manages, either in separate snapshot files or inline in the source file, and the companion cargo-insta tool reviews the snapshots that have changed. A VS Code extension in the same repository lets snapshots be reviewed from the editor.

The [quickstart](https://insta.rs/docs/quickstart/) says tests run with cargo test as usual, and that insta behaves differently in CI environments.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
