Decision Workspace
enumerate vs enum_dispatch vs edyn
Side-by-side comparison of Rust crates
34
enumerate
growingv0.1.1
An attribute macro that, given a trait and its implementers, generates an enum that can be used instead of a trait object, avoiding dynamic dispatch.
51
enum_dispatch
growingv0.3.13
Near drop-in replacement for dynamic-dispatched method calls with up to 10x the speed
33
edyn
growingv0.3.13
Near drop-in replacement for dynamic-dispatched method calls with up to 10x the speed
Core Metrics
| enumerate | enum_dispatch | edyn | |
|---|---|---|---|
| Health Score | 34 | 51 | 33 |
| Total Downloads | 4.1K | 46.7M | 1.3K |
| 30d Downloads | 36 | 4.1M | 4 |
| Dependents | 0 | 4.6K | 0 |
| Releases | 2 | 26 | 1 |
| Last Updated | 2455d ago | 729d ago | 609d ago |
| Age | 6y 9m | 7y 3m | 1y 8m |
Health Breakdown
enumerate
Maintenance
3
Quality
15
Community
3
Popularity
4
Documentation
9
enum_dispatch
Maintenance
6
Quality
13
Community
15
Popularity
8
Documentation
9
edyn
Maintenance
1
Quality
13
Community
6
Popularity
4
Documentation
9
Technical Details
| enumerate | enum_dispatch | edyn | |
|---|---|---|---|
| Version | 0.1.1 | 0.3.13 | 0.3.13 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 3 | 10 | 11 |
| Crate Size | 5KB | 30KB | 31KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2018 | 2018 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •enum_dispatch leads with a health score of 51/100, but none of the options score above 80.
- •enum_dispatch is depended on by 4.6K crates — strongest ecosystem trust.
- •⚠ enumerate, enum_dispatch, edyn have not been updated in over a year.