Decision Workspace
sham vs mockall vs autospy_macro
Side-by-side comparison of Rust crates
48
sham
growingv0.2.1
Mock implementations for use in testing
63
mockall
growingv0.14.0
A powerful mock object library for Rust.
60
autospy_macro
growingv1.6.1
Procedural macros for autospy.
Core Metrics
| sham | mockall | autospy_macro | |
|---|---|---|---|
| Health Score | 48 | 63 | 60 |
| Total Downloads | 3.6K | 111.2M | 7.1K |
| 30d Downloads | 25 | 8.6M | 378 |
| Dependents | 2 | 16.6K | 18 |
| Releases | 4 | 33 | 18 |
| Last Updated | 297d ago | 125d ago | 70d ago |
| Age | 1y 6m | 6y 8m | 10m |
Health Breakdown
sham
Maintenance
7
Quality
16
Community
6
Popularity
4
Documentation
15
mockall
Maintenance
13
Quality
13
Community
14
Popularity
8
Documentation
15
autospy_macro
Maintenance
16
Quality
18
Community
8
Popularity
5
Documentation
13
Technical Details
| sham | mockall | autospy_macro | |
|---|---|---|---|
| Version | 0.2.1 | 0.14.0 | 1.6.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 6 | 16 | 5 |
| Crate Size | 22KB | 26KB | 16KB |
| Features | 4 | 1 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2024 |
| MSRV | 1.86.0 | 1.77.0 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •mockall leads with a health score of 63/100, but none of the options score above 80.
- •mockall is depended on by 16.6K crates — strongest ecosystem trust.
- •sham, mockall are pre-1.0 — API may change.