hamcrest2
v1.0.1 StableA port of the Hamcrest testing library. Fork of original hamcrest-rust (which is unmaintained) with extra matchers, better docs, Rust 2024 support etc.
Quick Verdict
- ✓Actively maintained (updated 11d ago)
- ✓Stable API (1.x for 8+ years)
- ✓Trusted by 483 crates
- ✓Tiny footprint (19KB, 2 deps)
- ✓Permissive license (MIT OR Apache-2.0)
Security
Deep Insights
33.4K downloads in the last 30 days (1.1K/day), up 10% from the previous period.
483 crates depend on hamcrest2. Reasonable ecosystem adoption, though not yet a core dependency.
The API has been stable (1.x) for over 8 years with 11 releases. This level of maturity means you can depend on it without worrying about breaking changes.
Only 2 direct dependencies. Lean dependency tree means faster builds and lower supply chain risk.
At 19KB, hamcrest2 is lightweight. Small crate size correlates with focused, well-scoped functionality.
Notable dependents include pact_matching, pact_models, cargo-raze, pact_ffi, ang. When high-quality crates choose hamcrest2, it's a strong quality signal.
Health Breakdown
Recency, release consistency, active ratio
Yanked ratio, deps, size, maturity, features
Reverse deps, ownership, ecosystem
Downloads, momentum, growth trend
Docs, repo, license, metadata
Download Trend
Top Dependents
Most downloaded crates that depend on hamcrest2