Decision Workspace
derive_di_macro vs unit-enum vs syner_derive
Side-by-side comparison of Rust crates
39
derive_di_macro
growingv0.3.0
This macro realized dependency injection pattern
51
unit-enum
growingv1.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 | 39 | 51 | 45 |
| Total Downloads | 5.2K | 8.3K | 7.2K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 4 | 2 | 5 |
| Releases | 3 | 9 | 5 |
| Last Updated | 2206d ago | 219d ago | 1344d ago |
| Age | 6y | 2y 6m | 3y 8m |
Health Breakdown
derive_di_macro
Maintenance
3
Quality
15
Community
5
Popularity
4
Documentation
12
unit-enum
Maintenance
10
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 51/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.