Decision Workspace
unimock vs fnmock-derive vs faux
Side-by-side comparison of Rust crates
55
unimock
growingv0.6.8
A versatile and developer-friendly trait mocking library
51
fnmock-derive
experimentalv0.3.0
Procedural macro implementation for the fnmock mocking framework.
50
faux
growingv0.1.13
A library to mock structs
Core Metrics
| unimock | fnmock-derive | faux | |
|---|---|---|---|
| Health Score | 55 | 51 | 50 |
| Total Downloads | 186.0K | 191 | 1.9M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 103 | 4 | 175 |
| Releases | 54 | 4 | 24 |
| Last Updated | 336d ago | 15d ago | 378d ago |
| Age | 4y 7m | 2m | 6y 9m |
Health Breakdown
unimock
Maintenance
9
Quality
17
Community
11
Popularity
6
Documentation
12
fnmock-derive
Maintenance
12
Quality
14
Community
7
Popularity
3
Documentation
15
faux
Maintenance
7
Quality
14
Community
9
Popularity
8
Documentation
12
Technical Details
| unimock | fnmock-derive | faux | |
|---|---|---|---|
| Version | 0.6.8 | 0.3.0 | 0.1.13 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 13 | 3 | 3 |
| Crate Size | 76KB | 61KB | 105KB |
| Features | 13 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | 1.70 | 1.85 | 1.65 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •unimock leads with a health score of 55/100, but none of the options score above 80.
- •faux has the most downloads (1.9M), suggesting wider adoption.
- •faux is depended on by 175 crates — strongest ecosystem trust.
- •⚠ faux has not been updated in over a year.