Crates / enum_dispatch / Alternatives
Rust crate alternatives · data Oct 24, 2026
Alternatives to enum_dispatch
Short answerThe closest alternatives to enum_dispatch on crates.io data are funty (764K real downloads a day), new_debug_unreachable (691K real downloads a day), derive_more (1.6M real downloads a day). Of the 8 we list, the most used is crypto-common, and 5 shipped a release in the last year. enum_dispatch itself gets 261,983 a day with 358 dependents.
Every alternative we found
| Alternative | Real downloads a day | vs enum_dispatch | Dependents | Last release | Why it is listed | |
|---|---|---|---|---|---|---|
| funty Pulled in | 764,480 | 2.92x | 40 | 3.7y | category Rust patterns, keyword "traits" | compare |
| new_debug_unreachable Pulled in | 691,350 | 2.64x | 23 | 2.6y | category Rust patterns, keyword "optimization" | compare |
| derive_more Widely used | 1,604,594 | 6.12x | 3,690 | 10mo | category Procedural macro helpers, category Rust patterns | compare |
| crypto-common Pulled in | 3,766,260 | 14.38x | 85 | 5mo | keyword "traits" | compare |
| rayon Foundational | 1,615,491 | 6.17x | 11,972 | 6mo | keyword "performance" | compare |
| rayon-core Pulled in | 1,568,771 | 5.99x | 69 | 14mo | keyword "performance" | compare |
| profiling Established | 307,773 | 1.17x | 234 | 6mo | keyword "performance" | compare |
| smawk Pulled in | 273,437 | 1.04x | 3 | 4mo | keyword "optimization" | compare |
How to choose
- Same job, not the same API. Each line is listed because it shares a crates.io category or keyword with enum_dispatch; read its description before you swap.
- More dependents means more answered questions and a smaller chance it disappears.
- Check the last release against how fast you need fixes. For enum_dispatch: is it still maintained?
Rules
Alternatives = tracked crates (top 1000 by downloads) that share a specific crates.io category (2 points each) or keyword (3 points each) with enum_dispatch, most similar first; its own parts (same name prefix) and crates it depends on or that depend on it are left out, because those are companions, not substitutes. Real downloads = quiet-day median, crates.io data Oct 24, 2026. Built when we find 3 or more.
Up next
The closest alternative: Few direct dependents and losing ground. 764,480 real downloads a day.funtyRust crate. Trait generalization over the primitive types. Real use: 764K downloads a day on quiet days; 40 crates depend on it.Read it next →Also worth your time