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