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
61
mockall
growingv0.14.0
A powerful mock object library for Rust.
58
autospy_macro
stablev1.6.1
Procedural macros for autospy.
Core Metrics
| sham | mockall | autospy_macro | |
|---|---|---|---|
| Health Score | 48 | 61 | 58 |
| Total Downloads | 3.7K | 131.9M | 7.5K |
| 30d Downloads | 0 | 11.7M | 0 |
| Dependents | 2 | 18.5K | 18 |
| Releases | 4 | 33 | 18 |
| Last Updated | 356d ago | 184d ago | 129d ago |
| Age | 1y 8m | 6y 10m | 1y |
Health Breakdown
sham
Maintenance
7
Quality
16
Community
6
Popularity
4
Documentation
15
mockall
Maintenance
11
Quality
13
Community
14
Popularity
8
Documentation
15
autospy_macro
Maintenance
14
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 61/100, but none of the options score above 80.
- •mockall is depended on by 18.5K crates — strongest ecosystem trust.
- •sham, mockall are pre-1.0 — API may change.