Decision Workspace
derive_di_macro vs unit-enum vs syner_derive
Side-by-side comparison of Rust crates
40
derive_di_macro
growingv0.3.0
This macro realized dependency injection pattern
59
unit-enum
stablev1.5.0
A procedural macro for deriving ordinal methods in unit-like enums for Rust.
45
syner_derive
growingv0.3.0
A procedural macro to generate a parser for attributes from a struct
Core Metrics
| derive_di_macro | unit-enum | syner_derive | |
|---|---|---|---|
| Health Score | 40 | 59 | 45 |
| Total Downloads | 5.1K | 7.8K | 7.0K |
| 30d Downloads | 23 | 62 | 42 |
| Dependents | 4 | 2 | 5 |
| Releases | 3 | 9 | 5 |
| Last Updated | 2010d ago | 23d ago | 1148d ago |
| Age | 5y 6m | 2y | 3y 1m |
Health Breakdown
derive_di_macro
Maintenance
4
Quality
15
Community
5
Popularity
4
Documentation
12
unit-enum
Maintenance
18
Quality
20
Community
4
Popularity
5
Documentation
12
syner_derive
Maintenance
10
Quality
15
Community
5
Popularity
5
Documentation
10
Technical Details
| derive_di_macro | unit-enum | syner_derive | |
|---|---|---|---|
| Version | 0.3.0 | 1.5.0 | 0.3.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | Apache-2.0/MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 3 | 3 | 3 |
| Crate Size | 7KB | 15KB | 6KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2021 | 2021 |
| MSRV | — | 1.71 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •unit-enum leads with a health score of 59/100, but none of the options score above 80.
- •⚠ derive_di_macro, syner_derive have not been updated in over a year.
- •derive_di_macro, syner_derive are pre-1.0 — API may change.