Decision Workspace
googletest_macro vs hamcrest2 vs googletest
Side-by-side comparison of Rust crates
59
googletest_macro
growingv0.14.3
Procedural macros for GoogleTest Rust
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.
58
googletest
growingv0.14.3
A rich assertion and matcher library inspired by GoogleTest for C++
Core Metrics
| googletest_macro | hamcrest2 | googletest | |
|---|---|---|---|
| Health Score | 59 | 64 | 58 |
| Total Downloads | 8.2M | 891.2K | 8.3M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 21 | 483 | 562 |
| Releases | 20 | 11 | 21 |
| Last Updated | 128d ago | 11d ago | 128d ago |
| Age | 3y 10m | 8y 5m | 3y 10m |
Health Breakdown
googletest_macro
Maintenance
12
Quality
15
Community
14
Popularity
8
Documentation
10
hamcrest2
Maintenance
15
Quality
16
Community
13
Popularity
7
Documentation
13
googletest
Maintenance
12
Quality
9
Community
17
Popularity
8
Documentation
12
Technical Details
| googletest_macro | hamcrest2 | googletest | |
|---|---|---|---|
| Version | 0.14.3 | 1.0.1 | 0.14.3 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | Apache-2.0 | MIT OR Apache-2.0 | Apache-2.0 |
| Dependencies | 3 | 2 | 8 |
| Crate Size | 15KB | 19KB | 134KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 9.5% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | — | — | 1.85.0 |
| Owners | 6 | 1 | 6 |
Links
Quick Verdict
- •hamcrest2 leads with a health score of 64/100, but none of the options score above 80.
- •googletest has the most downloads (8.3M), suggesting wider adoption.
- •googletest is depended on by 562 crates — strongest ecosystem trust.
- •googletest_macro, googletest are pre-1.0 — API may change.