mockall
v0.14.0 GrowingA powerful mock object library for Rust.
Quick Verdict
- !Pre-1.0: API may have breaking changes
- โMassive adoption (18.5K crates depend on it)
- โPermissive license (MIT OR Apache-2.0)
Security
Deep Insights
11.8M downloads in the last 30 days (394.7K/day), up 25% from the previous period.
18.5K 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 18.5K 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
Download Trend
Top Dependents
Most downloaded crates that depend on mockall