Decision Workspace
methods-enum vs nodyn vs impl-enum
Side-by-side comparison of Rust crates
41
methods-enum
growingv0.3.2
Two macros for easy implementation of 'state' design pattern and other dynamic polymorphism using enum instead of dyn Trait
49
nodyn
experimentalv0.2.2
Easy polymorphism with enums
47
impl-enum
growingv0.3.1
Macros that make using enums like trait objects more convenient.
Core Metrics
| methods-enum | nodyn | impl-enum | |
|---|---|---|---|
| Health Score | 41 | 49 | 47 |
| Total Downloads | 17.5K | 2.5K | 77.3K |
| 30d Downloads | 41 | 177 | 1.7K |
| Dependents | 0 | 2 | 6 |
| Releases | 13 | 4 | 4 |
| Last Updated | 963d ago | 211d ago | 871d ago |
| Age | 3y 9m | 9m | 5y 8m |
Health Breakdown
methods-enum
Maintenance
6
Quality
12
Community
5
Popularity
5
Documentation
13
nodyn
Maintenance
11
Quality
15
Community
7
Popularity
4
Documentation
12
impl-enum
Maintenance
6
Quality
16
Community
7
Popularity
6
Documentation
12
Technical Details
| methods-enum | nodyn | impl-enum | |
|---|---|---|---|
| Version | 0.3.2 | 0.2.2 | 0.3.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT | MPL-2.0 |
| Dependencies | 0 | 4 | 4 |
| Crate Size | 21KB | 37KB | 11KB |
| Features | 0 | 4 | 3 |
| Yanked % | 15.4% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | — | 1.85.0 | 1.56 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •nodyn leads with a health score of 49/100, but none of the options score above 80.
- •impl-enum has the most downloads (77.3K), suggesting wider adoption.
- •⚠ methods-enum, impl-enum have not been updated in over a year.