Decision Workspace
nobug vs invariants vs hamcrest2
Side-by-side comparison of Rust crates
53
nobug
growingv0.7.0
Assertions and active code annotations
43
invariants
growingv0.1.4
Assertions for normal and invariant based development
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
| nobug | invariants | hamcrest2 | |
|---|---|---|---|
| Health Score | 53 | 43 | 64 |
| Total Downloads | 13.8K | 6.0K | 891.2K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 3 | 0 | 483 |
| Releases | 16 | 5 | 11 |
| Last Updated | 664d ago | 561d ago | 11d ago |
| Age | 2y | 4y 4m | 8y 5m |
Health Breakdown
nobug
Maintenance
7
Quality
18
Community
8
Popularity
5
Documentation
15
invariants
Maintenance
4
Quality
18
Community
6
Popularity
5
Documentation
10
hamcrest2
Maintenance
15
Quality
16
Community
13
Popularity
7
Documentation
13
Technical Details
| nobug | invariants | hamcrest2 | |
|---|---|---|---|
| Version | 0.7.0 | 0.1.4 | 1.0.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT | MIT OR Apache-2.0 |
| Dependencies | 2 | 1 | 2 |
| Crate Size | 16KB | 6KB | 19KB |
| Features | 6 | 6 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | 1.56.1 | — | — |
| 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.
- •⚠ nobug, invariants have not been updated in over a year.
- •nobug, invariants are pre-1.0 — API may change.