similar-asserts
provides assert_eq! like macros with colorized diff output
2.0.0
34M downloads/mo
#1564 most downloaded on crates.io
mitsuhiko/similar-asserts
What this package is like to depend on
Last release 4 months ago
01 Apr 2026
Ships fairly regularly
a new release about every 10 months
Some releases are documented
notes for 5 of 12 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
12 releases · first in 2021
1 release in the last 12 months
see the full history below
Release timeline
12 releases · Feb 2021 to Apr 2026Releases
latest 12-
2.0.001 Apr 2026Release notes
Open source →- Raised the crate edition to Rust 2024 and updated the MSRV to Rust 1.85.
- Upgraded the
similardependency to3.0.0. - Modernized CI workflows to current GitHub Actions and added PR runs.
- Replaced atomic env-var caching with
OnceLock. - Minor documentation and wording fixes.
-
1.7.024 Feb 2025 -
1.6.119 Jan 2025 -
1.6.005 Sep 2024 -
1.5.020 Aug 2023Release notes
Open source →- Added automatic truncation of assertions. This behavior can be overridden with the
new
SIMILAR_ASSERTS_MAX_STRING_LENGTHenvironment variable. It defaults to200characters.
- Added automatic truncation of assertions. This behavior can be overridden with the
new
-
1.4.203 Aug 2022Nothing published for this version
-
1.4.103 Aug 2022Nothing published for this version
-
1.4.003 Aug 2022Nothing published for this version
-
1.3.001 Aug 2022Nothing published for this version
-
1.2.005 Jan 2022Nothing published for this version
-
1.1.027 Feb 2021Nothing published for this version
-
1.0.025 Feb 2021Nothing published for this version