mockall
v0.14.0 GrowingA powerful mock object library for Rust.
Quick Verdict
- !Pre-1.0: API may have breaking changes
- โMassive adoption (16.6K crates depend on it)
- โPermissive license (MIT OR Apache-2.0)
Security
Deep Insights
8.9M downloads in the last 30 days (295.8K/day), up 40% from the previous period.
16.6K crates depend on mockall โ it's part of the Rust ecosystem's core infrastructure. Removing it from your dependency tree would be extremely difficult.
mockall has only 1 owner despite 16.6K dependents. This is a bus-factor concern โ consider the implications for long-term support.
Despite being 6+ years old, mockall hasn't reached 1.0 yet. Expect potential API changes between versions.
At 25KB, mockall is lightweight. Small crate size correlates with focused, well-scoped functionality.
Notable dependents include tokio, metrics-util, google-cloud-auth, google-cloud-gax, google-cloud-storage. When high-quality crates choose mockall, 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