Decision Workspace
mockall vs mockall_derive vs unimock
Side-by-side comparison of Rust crates
68
mockall
growingv0.15.0
A powerful mock object library for Rust.
63
mockall_derive
growingv0.15.0
Procedural macros for Mockall
56
unimock
growingv0.6.8
A versatile and developer-friendly trait mocking library
Core Metrics
| mockall | mockall_derive | unimock | |
|---|---|---|---|
| Health Score | 68 | 63 | 56 |
| Total Downloads | 146.7M | 146.3M | 156.0K |
| 30d Downloads | 4.9M | 4.9M | 5.5K |
| Dependents | 20.6K | 36 | 65 |
| Releases | 34 | 33 | 54 |
| Last Updated | 15d ago | 15d ago | 248d ago |
| Age | 7y | 7y | 4y 4m |
Health Breakdown
mockall
Maintenance
18
Quality
13
Community
14
Popularity
8
Documentation
15
mockall_derive
Maintenance
18
Quality
15
Community
9
Popularity
8
Documentation
13
unimock
Maintenance
10
Quality
17
Community
11
Popularity
6
Documentation
12
Technical Details
| mockall | mockall_derive | unimock | |
|---|---|---|---|
| Version | 0.15.0 | 0.15.0 | 0.6.8 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 17 | 5 | 13 |
| Crate Size | 26KB | 49KB | 76KB |
| Features | 1 | 1 | 13 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.77.0 | — | 1.70 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •mockall leads with a health score of 68/100, but none of the options score above 80.
- •mockall is depended on by 20.6K crates — strongest ecosystem trust.