Decision Workspace
easy-assert vs hamcrest2 vs assertr
Side-by-side comparison of Rust crates
43
easy-assert
growingv0.2.1
A library for readable assertions in your tests
64
hamcrest2
stablev1.0.1
A port of the Hamcrest testing library. Fork of original hamcrest-rust (which is unmaintained) with extra matchers, better docs, Rust 2024 support etc.
61
assertr
growingv0.7.1
Fluent assertions for the Rust programming language.
Core Metrics
| easy-assert | hamcrest2 | assertr | |
|---|---|---|---|
| Health Score | 43 | 64 | 61 |
| Total Downloads | 6.9K | 891.2K | 13.6K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 483 | 122 |
| Releases | 5 | 11 | 30 |
| Last Updated | 1117d ago | 11d ago | 37d ago |
| Age | 4y 6m | 8y 5m | 1y 8m |
Health Breakdown
easy-assert
Maintenance
4
Quality
15
Community
6
Popularity
5
Documentation
13
hamcrest2
Maintenance
15
Quality
16
Community
13
Popularity
7
Documentation
13
assertr
Maintenance
17
Quality
15
Community
12
Popularity
5
Documentation
12
Technical Details
| easy-assert | hamcrest2 | assertr | |
|---|---|---|---|
| Version | 0.2.1 | 1.0.1 | 0.7.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT/Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 1 | 2 | 17 |
| Crate Size | 15KB | 19KB | 170KB |
| Features | 0 | 0 | 16 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | — | — | 1.89.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •hamcrest2 leads with a health score of 64/100, but none of the options score above 80.
- •hamcrest2 is depended on by 483 crates — strongest ecosystem trust.
- •⚠ easy-assert has not been updated in over a year.
- •easy-assert, assertr are pre-1.0 — API may change.