Decision Workspace
injectorpp vs mockall vs autospy_macro
Side-by-side comparison of Rust crates
51
injectorpp
experimentalv0.5.1
Injectorpp is a powerful tool designed to facilitate the writing of unit tests without the need to introduce traits solely for testing purposes. It streamlines the testing process by providing a seamless and efficient way to abstract dependencies, ensuring that your code remains clean and maintainable.
63
mockall
growingv0.14.0
A powerful mock object library for Rust.
60
autospy_macro
growingv1.6.1
Procedural macros for autospy.
Core Metrics
| injectorpp | mockall | autospy_macro | |
|---|---|---|---|
| Health Score | 51 | 63 | 60 |
| Total Downloads | 14.3K | 111.2M | 7.1K |
| 30d Downloads | 6.7K | 8.6M | 378 |
| Dependents | 1 | 16.6K | 18 |
| Releases | 4 | 33 | 18 |
| Last Updated | today | 125d ago | 70d ago |
| Age | 10m | 6y 8m | 10m |
Health Breakdown
injectorpp
Maintenance
18
Quality
12
Community
6
Popularity
5
Documentation
10
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
| injectorpp | mockall | autospy_macro | |
|---|---|---|---|
| Version | 0.5.1 | 0.14.0 | 1.6.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 11 | 16 | 5 |
| Crate Size | 91KB | 26KB | 16KB |
| Features | 0 | 1 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | — | 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.
- •injectorpp, mockall are pre-1.0 — API may change.