Decision Workspace
similar-asserts vs pretty_assertions vs pretty_assertions_sorted
Side-by-side comparison of Rust crates
58
similar-asserts
growingv1.7.0
provides assert_eq! like macros with colorized diff output
62
pretty_assertions
growingv1.4.1
Overwrite `assert_eq!` and `assert_ne!` with drop-in replacements, adding colorful diffs.
46
pretty_assertions_sorted
growingv1.2.3
Wrapper around the `rust-pretty-assertions` crate that allows for the ability to sort the Debug output.
Core Metrics
| similar-asserts | pretty_assertions | pretty_assertions_sorted | |
|---|---|---|---|
| Health Score | 58 | 62 | 46 |
| Total Downloads | 26.5M | 134.1M | 1.1M |
| 30d Downloads | 1.7M | 10.2M | 77.3K |
| Dependents | 7.2K | 66.8K | 229 |
| Releases | 11 | 26 | 10 |
| Last Updated | 396d ago | 558d ago | 1015d ago |
| Age | 5y 1m | 9y | 4y 3m |
Health Breakdown
similar-asserts
Maintenance
6
Quality
21
Community
12
Popularity
8
Documentation
11
pretty_assertions
Maintenance
4
Quality
22
Community
16
Popularity
8
Documentation
12
pretty_assertions_sorted
Maintenance
4
Quality
12
Community
11
Popularity
7
Documentation
12
Technical Details
| similar-asserts | pretty_assertions | pretty_assertions_sorted | |
|---|---|---|---|
| Version | 1.7.0 | 1.4.1 | 1.2.3 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | Apache-2.0 | MIT OR Apache-2.0 | MIT/Apache-2.0 |
| Dependencies | 4 | 2 | 5 |
| Crate Size | 16KB | 79KB | 160KB |
| Features | 2 | 4 | 0 |
| Yanked % | 0.0% | 0.0% | 50.0% |
| Edition | 2018 | 2018 | 2018 |
| MSRV | 1.46.0 | — | — |
| Owners | 1 | 2 | 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 66.8K crates — strongest ecosystem trust.
- •⚠ similar-asserts, pretty_assertions, pretty_assertions_sorted have not been updated in over a year.