Crates / textwrap / Alternatives
Rust crate alternatives · data Oct 24, 2026
Alternatives to textwrap
Short answerThe closest alternatives to textwrap on crates.io data are aho-corasick (3.3M real downloads a day), bstr (1.3M real downloads a day), unicode-bidi (1.1M real downloads a day). Of the 8 we list, the most used is aho-corasick, and 6 shipped a release in the last year. textwrap itself gets 691,978 a day with 750 dependents.
Every alternative we found
| Alternative | Real downloads a day | vs textwrap | Dependents | Last release | Why it is listed | |
|---|---|---|---|---|---|---|
| aho-corasick Established | 3,331,047 | 4.81x | 655 | 3mo | category Text processing, keyword "text" | side by side |
| bstr Established | 1,252,630 | 1.81x | 676 | 2mo | category Text processing, keyword "text" | compare |
| unicode-bidi Established | 1,058,529 | 1.53x | 190 | 22mo | category Text processing, keyword "text" | compare |
| writeable Pulled in | 2,575,145 | 3.72x | 61 | 2mo | keyword "formatting" | compare |
| unicode-segmentation Widely used | 1,727,473 | 2.50x | 1,989 | 5mo | keyword "text" | compare |
| unicode-xid Established | 1,460,280 | 2.11x | 128 | 2.1y | keyword "text" | compare |
| unicode-normalization Widely used | 1,371,256 | 1.98x | 1,489 | 8d | keyword "text" | compare |
| unicode-properties Established | 833,342 | 1.20x | 108 | 12mo | keyword "text" | compare |
How to choose
- Same job, not the same API. Each line is listed because it shares a crates.io category or keyword with textwrap; 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 textwrap: 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 textwrap, 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