Decision Workspace
test_help-rs vs approx_eq vs hamcrest2
Side-by-side comparison of Rust crates
62
test_help-rs
growingv0.2.2
Test helpers (for Rust)
45
approx_eq
growingv0.1.8
A macro for comparing equality of two values up to an arbitrary error in the *relative* difference
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.
Core Metrics
| test_help-rs | approx_eq | hamcrest2 | |
|---|---|---|---|
| Health Score | 62 | 45 | 64 |
| Total Downloads | 3.8K | 214.7K | 891.2K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 27 | 232 | 483 |
| Releases | 7 | 8 | 11 |
| Last Updated | 29d ago | 2169d ago | 11d ago |
| Age | 2y 1m | 5y 12m | 8y 5m |
Health Breakdown
test_help-rs
Maintenance
16
Quality
18
Community
9
Popularity
4
Documentation
15
approx_eq
Maintenance
5
Quality
16
Community
9
Popularity
6
Documentation
9
hamcrest2
Maintenance
15
Quality
16
Community
13
Popularity
7
Documentation
13
Technical Details
| test_help-rs | approx_eq | hamcrest2 | |
|---|---|---|---|
| Version | 0.2.2 | 0.1.8 | 1.0.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | BSD-3-Clause | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 2 | 0 | 2 |
| Crate Size | 21KB | 3KB | 19KB |
| Features | 6 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2018 | 2024 |
| MSRV | 1.74 | — | — |
| 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.
- •⚠ approx_eq has not been updated in over a year.
- •test_help-rs, approx_eq are pre-1.0 — API may change.