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