Decision Workspace
assertor vs hamcrest2 vs assertr
Side-by-side comparison of Rust crates
56
assertor
growingv0.0.4
Fluent assertion library with readable failure messages.
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
| assertor | hamcrest2 | assertr | |
|---|---|---|---|
| Health Score | 56 | 64 | 61 |
| Total Downloads | 398.6K | 891.2K | 13.6K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 216 | 483 | 122 |
| Releases | 4 | 11 | 30 |
| Last Updated | 485d ago | 11d ago | 37d ago |
| Age | 5y | 8y 5m | 1y 8m |
Health Breakdown
assertor
Maintenance
8
Quality
17
Community
12
Popularity
7
Documentation
12
hamcrest2
Maintenance
15
Quality
16
Community
13
Popularity
7
Documentation
13
assertr
Maintenance
17
Quality
15
Community
12
Popularity
5
Documentation
12
Technical Details
| assertor | hamcrest2 | assertr | |
|---|---|---|---|
| Version | 0.0.4 | 1.0.1 | 0.7.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 3 | 2 | 17 |
| Crate Size | 35KB | 19KB | 170KB |
| Features | 4 | 0 | 16 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | 1.67.0 | — | 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.
- •⚠ assertor has not been updated in over a year.
- •assertor, assertr are pre-1.0 — API may change.