Crates / strum_macros / Alternatives
Rust crate alternatives · data Oct 24, 2026
Alternatives to strum_macros
Short answerThe closest alternatives to strum_macros on crates.io data are synstructure (2.6M real downloads a day), compact_str (712K real downloads a day), aho-corasick (3.3M real downloads a day). Of the 8 we list, the most used is aho-corasick, and 7 shipped a release in the last year. strum_macros itself gets 1,935,017 a day with 2,140 dependents.
Every alternative we found
| Alternative | Real downloads a day | vs strum_macros | Dependents | Last release | Why it is listed | |
|---|---|---|---|---|---|---|
| synstructure Established | 2,554,307 | 1.32x | 146 | 3mo | keyword "enum", keyword "macros" | compare |
| compact_str Established | 712,106 | 0.37x | 575 | 3mo | category Parsing tools, keyword "string" | compare |
| aho-corasick Established | 3,331,047 | 1.72x | 655 | 3mo | keyword "string" | compare |
| pin-project-lite Widely used | 3,270,978 | 1.69x | 1,708 | 8mo | keyword "macros" | compare |
| strsim Established | 2,956,166 | 1.53x | 733 | 2.6y | keyword "string" | compare |
| writeable Pulled in | 2,575,145 | 1.33x | 61 | 2mo | keyword "string" | compare |
| zerovec-derive Pulled in | 2,561,390 | 1.32x | 6 | 2d | keyword "macros" | compare |
| tinystr Pulled in | 2,524,670 | 1.30x | 57 | 2d | keyword "string" | compare |
How to choose
- Same job, not the same API. Each line is listed because it shares a crates.io category or keyword with strum_macros; 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 strum_macros: 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 strum_macros, 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: Established and gaining. 2,554,307 real downloads a day.synstructureRust crate. Helper methods and macros for custom derives. Real use: 2.6M downloads a day on quiet days; 146 crates depend on it.Read it next →Also worth your time