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.
46
pretty_assertions_sorted
growingv1.2.3
Wrapper around the `rust-pretty-assertions` crate that allows for the ability to sort the Debug output.
58
similar-asserts
growingv1.7.0
provides assert_eq! like macros with colorized diff output
Core Metrics
| pretty_assertions | pretty_assertions_sorted | similar-asserts | |
|---|---|---|---|
| Health Score | 62 | 46 | 58 |
| Total Downloads | 134.1M | 1.1M | 26.5M |
| 30d Downloads | 10.2M | 77.3K | 1.7M |
| Dependents | 66.8K | 229 | 7.2K |
| Releases | 26 | 10 | 11 |
| Last Updated | 558d ago | 1015d ago | 396d ago |
| Age | 9y | 4y 3m | 5y 1m |
Health Breakdown
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
similar-asserts
Maintenance
6
Quality
21
Community
12
Popularity
8
Documentation
11
Technical Details
| pretty_assertions | pretty_assertions_sorted | similar-asserts | |
|---|---|---|---|
| Version | 1.4.1 | 1.2.3 | 1.7.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 | 2018 |
| MSRV | — | — | 1.46.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 66.8K crates — strongest ecosystem trust.
- •⚠ pretty_assertions, pretty_assertions_sorted, similar-asserts have not been updated in over a year.