Crates / strsim / Alternatives
Rust crate alternatives · data Oct 24, 2026
Alternatives to strsim
Short answerThe closest alternatives to strsim on crates.io data are aho-corasick (3.3M real downloads a day), convert_case (1.7M real downloads a day), bstr (1.3M real downloads a day). Of the 8 we list, the most used is heck, and 5 shipped a release in the last year. strsim itself gets 2,956,166 a day with 733 dependents.
Every alternative we found
| Alternative | Real downloads a day | vs strsim | Dependents | Last release | Why it is listed | |
|---|---|---|---|---|---|---|
| aho-corasick Established | 3,331,047 | 1.13x | 655 | 3mo | category Text processing, keyword "string" | side by side |
| convert_case Widely used | 1,687,092 | 0.57x | 1,213 | 58d | category Text processing, keyword "string" | compare |
| bstr Established | 1,252,630 | 0.42x | 676 | 2mo | category Text processing, keyword "string" | compare |
| indoc Widely used | 810,408 | 0.27x | 1,667 | 15d | category Text processing, keyword "string" | compare |
| compact_str Established | 712,106 | 0.24x | 575 | 3mo | category Text processing, keyword "string" | compare |
| unindent Established | 379,604 | 0.13x | 100 | 20mo | category Text processing, keyword "string" | compare |
| widestring Established | 308,184 | 0.10x | 319 | 12mo | category Text processing, keyword "string" | compare |
| heck Widely used | 3,901,922 | 1.32x | 1,865 | 2.6y | 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 strsim; 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 strsim: 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 strsim, 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 steady. 3,331,047 real downloads a day.aho-corasickRust crate. Fast multiple substring searching. Real use: 3.3M downloads a day on quiet days; 655 crates depend on it.Read it next →Also worth your time