Crates / fancy-regex / Alternatives
Rust crate alternatives · data Oct 24, 2026
Alternatives to fancy-regex
Short answerThe closest alternatives to fancy-regex on crates.io data are regex (3.4M real downloads a day), aho-corasick (3.3M real downloads a day), strsim (3M real downloads a day). Of the 8 we list, the most used is regex, and 4 shipped a release in the last year. fancy-regex itself gets 912,637 a day with 617 dependents.
Every alternative we found
| Alternative | Real downloads a day | vs fancy-regex | Dependents | Last release | Why it is listed | |
|---|---|---|---|---|---|---|
| regex Foundational | 3,355,026 | 3.68x | 24,288 | 3mo | category Text processing | side by side |
| aho-corasick Established | 3,331,047 | 3.65x | 655 | 3mo | category Text processing | compare |
| strsim Established | 2,956,166 | 3.24x | 733 | 2.6y | category Text processing | compare |
| unicode-width Widely used | 2,194,046 | 2.40x | 3,230 | 13mo | category Text processing | compare |
| utf8_iter Pulled in | 2,136,300 | 2.34x | 12 | 2.9y | category Text processing | compare |
| convert_case Widely used | 1,687,092 | 1.85x | 1,213 | 58d | category Text processing | compare |
| matchers Pulled in | 1,581,741 | 1.73x | 3 | 2.3y | category Text processing | compare |
| encoding_rs Widely used | 1,414,714 | 1.55x | 1,424 | 30d | category Text processing | compare |
How to choose
- Same job, not the same API. Each line is listed because it shares a crates.io category or keyword with fancy-regex; 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 fancy-regex: 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 fancy-regex, 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: Foundational and steady. 3,355,026 real downloads a day.regexRust crate. An implementation of regular expressions for Rust. This implementation uses finite automata and guarantees linear time matching on all inputs. Real use: 3.4M...Read it next →Also worth your time