Release Notes
- Fix panics when
cargo metadata
fails to execute or parse (e.g., when cargo is not in PATH or returns invalid output). Now falls back to using the manifest directory as the workspace root. #798 (@adriangb) - Fix clippy
uninlined_format_args
lint warnings. #801 - Changed diff line numbers to 1-based indexing. #799
- Preserve snapshot names with
INSTA_GLOB_FILTER
. #786 - Bumped
libc
crate to0.2.174
, fixing building on musl targets, and increasing the MSRV of
insta
to1.64.0
(released Sept 2022). #784 - Fix clippy 1.88 errors. #783
- Fix source path in snapshots for non-child workspaces. #778
- Add lifetime to Selector in redaction iterator. #779
Install cargo-insta 1.43.2
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/mitsuhiko/insta/releases/download/1.43.2/cargo-insta-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy ByPass -c "irm https://github.com/mitsuhiko/insta/releases/download/1.43.2/cargo-insta-installer.ps1 | iex"
Download cargo-insta 1.43.2
File | Platform | Checksum |
---|---|---|
cargo-insta-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
cargo-insta-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
cargo-insta-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
cargo-insta-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
cargo-insta-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |