Decision Workspace
dispatch-lite vs enum_trait vs enum_traits_macros
Side-by-side comparison of Rust crates
36
dispatch-lite
experimentalv0.1.0
Lightweight enum dispatch for trait objects — a minimal alternative to dynamic dispatch with zero-cost abstractions
43
enum_trait
experimentalv0.1.0
Zero-cost trait dispatch over an enum of concrete types, with first-class support for async trait methods
66
enum_traits_macros
stablev6.1.0
Procedural macros adding functionality to enums. Derives traits from the crate `enum_traits`
Core Metrics
| dispatch-lite | enum_trait | enum_traits_macros | |
|---|---|---|---|
| Health Score | 36 | 43 | 66 |
| Total Downloads | 30 | 20 | 16.9K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 7 |
| Releases | 1 | 1 | 12 |
| Last Updated | 110d ago | 42d ago | 3d ago |
| Age | 3m | 1m | 11y 1m |
Health Breakdown
dispatch-lite
Maintenance
7
Quality
14
Community
6
Popularity
2
Documentation
7
enum_trait
Maintenance
10
Quality
13
Community
6
Popularity
2
Documentation
12
enum_traits_macros
Maintenance
16
Quality
24
Community
8
Popularity
5
Documentation
13
Technical Details
| dispatch-lite | enum_trait | enum_traits_macros | |
|---|---|---|---|
| Version | 0.1.0 | 0.1.0 | 6.1.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT | MIT |
| Dependencies | 3 | 5 | 3 |
| Crate Size | 2KB | 23KB | 29KB |
| Features | 0 | 0 | 54 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | — | 1.88 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •enum_traits_macros leads with a health score of 66/100, but none of the options score above 80.
- •dispatch-lite, enum_trait are pre-1.0 — API may change.