Decision Workspace
googletest vs googletest_macro vs hamcrest
Side-by-side comparison of Rust crates
55
googletest
growingv0.14.2
A rich assertion and matcher library inspired by GoogleTest for C++
56
googletest_macro
growingv0.14.2
Procedural macros for GoogleTest Rust
51
hamcrest
growingv0.1.5
A port of the Hamcrest testing library
Core Metrics
| googletest | googletest_macro | hamcrest | |
|---|---|---|---|
| Health Score | 55 | 56 | 51 |
| Total Downloads | 5.5M | 5.4M | 372.5K |
| 30d Downloads | 466.3K | 463.4K | 3.6K |
| Dependents | 363 | 20 | 180 |
| Releases | 20 | 19 | 6 |
| Last Updated | 275d ago | 275d ago | 3056d ago |
| Age | 3y 3m | 3y 3m | 10y 8m |
Health Breakdown
googletest
Maintenance
10
Quality
8
Community
17
Popularity
8
Documentation
12
googletest_macro
Maintenance
9
Quality
15
Community
14
Popularity
8
Documentation
10
hamcrest
Maintenance
4
Quality
15
Community
14
Popularity
7
Documentation
11
Technical Details
| googletest | googletest_macro | hamcrest | |
|---|---|---|---|
| Version | 0.14.2 | 0.14.2 | 0.1.5 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | Apache-2.0 | Apache-2.0 | MIT/Apache-2.0 |
| Dependencies | 8 | 3 | 2 |
| Crate Size | 128KB | 15KB | 13KB |
| Features | 0 | 0 | 0 |
| Yanked % | 10.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | — |
| MSRV | 1.70.0 | — | — |
| Owners | 5 | 5 | 2 |
Links
Quick Verdict
- •googletest_macro leads with a health score of 56/100, but none of the options score above 80.
- •googletest has the most downloads (5.5M), suggesting wider adoption.
- •googletest is depended on by 363 crates — strongest ecosystem trust.
- •⚠ hamcrest has not been updated in over a year.