Decision Workspace
mocksmith vs mockito vs cxx
Side-by-side comparison of Rust crates
47
mocksmith
growingv1.0.0
Mocksmith is a command line utility and a Rust library to automatically create C++ mocks for the Google Mock (gMock) framework.
72
mockito
stablev1.7.2
HTTP mocking for Rust.
70
cxx
stablev1.0.194
Safe interop between Rust and C++
Core Metrics
| mocksmith | mockito | cxx | |
|---|---|---|---|
| Health Score | 47 | 72 | 70 |
| Total Downloads | 1.5K | 36.7M | 58.4M |
| 30d Downloads | 7 | 3.4M | 2.9M |
| Dependents | 0 | 11.2K | 3.7K |
| Releases | 5 | 77 | 241 |
| Last Updated | 106d ago | 53d ago | 65d ago |
| Age | 8m | 10y 2m | 6y 3m |
Health Breakdown
mocksmith
Maintenance
13
Quality
14
Community
6
Popularity
4
Documentation
10
mockito
Maintenance
16
Quality
18
Community
15
Popularity
8
Documentation
15
cxx
Maintenance
15
Quality
18
Community
14
Popularity
8
Documentation
15
Technical Details
| mocksmith | mockito | cxx | |
|---|---|---|---|
| Version | 1.0.0 | 1.7.2 | 1.0.194 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 11 | 22 | 19 |
| Crate Size | 474KB | 44KB | 239KB |
| Features | 0 | 3 | 6 |
| Yanked % | 0.0% | 2.6% | 1.7% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | — | 1.70 | 1.82 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •mockito leads with a health score of 72/100, but none of the options score above 80.
- •cxx has the most downloads (58.4M), suggesting wider adoption.
- •mockito is depended on by 11.2K crates — strongest ecosystem trust.