Crate features / insta
Feature flags · insta 1.49.0 · from crates.io 2026-10-24
insta features: what each one does, and the line to copy
Short answerinsta 1.49.0 has 10 features. By default it turns on colors; add default-features = false to start from nothing. It needs Rust 1.66.0 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
_cargo_insta_internal | clap | |
colors | yes | console |
csv | dep:csv, serde | |
filters | regex, strip-ansi-escapes | |
glob | walkdir, globset | |
json | serde | |
redactions | pest, pest_derive, serde | |
ron | dep:ron, serde | |
toml | dep:toml_edit, dep:toml_writer, serde | |
yaml | serde |
dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).
MSRV history
The minimum Rust version insta declares (rust-version), and the release that changed it:
- 1.11.0 (2022-01-23): Rust 1.46
- 1.15.0 (2022-06-17): Rust 1.56.1
- 0.18.0-alpha.1 (2022-08-07): Rust 1.51.0
- 1.40.0 (2024-09-06): Rust 1.60.0
- 1.43.2 (2025-09-04): Rust 1.64.0
- 1.47.0 (2026-03-27): Rust 1.66.0
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p insta --precise <version>, or use resolver 3, which picks compatible versions for you.
More on insta
Real downloads, dependents and alternatives: insta crate data (379.8K real downloads a day, 4,970 dependents).
docs.rs feature list · crates.io · license Apache-2.0 · edition 2021
Up next
Before you depend on itinsta crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?