Decision Workspace
pretty_assertions vs pretty_assertions_sorted vs similar-asserts
Side-by-side comparison of Rust crates
62
pretty_assertions
growingv1.4.1
Overwrite `assert_eq!` and `assert_ne!` with drop-in replacements, adding colorful diffs.
47
pretty_assertions_sorted
growingv1.2.3
Wrapper around the `rust-pretty-assertions` crate that allows for the ability to sort the Debug output.
62
similar-asserts
growingv2.0.0
provides assert_eq! like macros with colorized diff output
Core Metrics
| pretty_assertions | pretty_assertions_sorted | similar-asserts | |
|---|---|---|---|
| Health Score | 62 | 47 | 62 |
| Total Downloads | 218.8M | 1.3M | 37.7M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 102.8K | 333 | 9.2K |
| Releases | 26 | 10 | 12 |
| Last Updated | 754d ago | 1211d ago | 191d ago |
| Age | 9y 6m | 4y 10m | 5y 7m |
Health Breakdown
pretty_assertions
Maintenance
4
Quality
22
Community
16
Popularity
8
Documentation
12
pretty_assertions_sorted
Maintenance
4
Quality
12
Community
12
Popularity
7
Documentation
12
similar-asserts
Maintenance
9
Quality
21
Community
12
Popularity
8
Documentation
12
Technical Details
| pretty_assertions | pretty_assertions_sorted | similar-asserts | |
|---|---|---|---|
| Version | 1.4.1 | 1.2.3 | 2.0.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT/Apache-2.0 | Apache-2.0 |
| Dependencies | 2 | 5 | 4 |
| Crate Size | 79KB | 160KB | 16KB |
| Features | 4 | 0 | 2 |
| Yanked % | 0.0% | 50.0% | 0.0% |
| Edition | 2018 | 2018 | 2024 |
| MSRV | — | — | 1.85.0 |
| Owners | 2 | 1 | 1 |
Links
Quick Verdict
- •pretty_assertions leads with a health score of 62/100, but none of the options score above 80.
- •pretty_assertions is depended on by 102.8K crates — strongest ecosystem trust.
- •⚠ pretty_assertions, pretty_assertions_sorted have not been updated in over a year.