Decision Workspace
spandex-hyphenation vs textwrap vs textwrap-macros
Side-by-side comparison of Rust crates
32
spandex-hyphenation
growingv0.7.4
Knuth-Liang hyphenation for a variety of languages
54
textwrap
growingv0.16.2
Library for word wrapping, indenting, and dedenting strings. Has optional support for Unicode and emojis as well as machine hyphenation.
46
textwrap-macros
growingv0.3.0
Simple procedural macros to use textwrap utilities at compile time.
Core Metrics
| spandex-hyphenation | textwrap | textwrap-macros | |
|---|---|---|---|
| Health Score | 32 | 54 | 46 |
| Total Downloads | 6.3K | 327.8M | 175.5K |
| 30d Downloads | 23 | 14.5M | 2.2K |
| Dependents | 1 | 8.0K | 40 |
| Releases | 3 | 27 | 8 |
| Last Updated | 2316d ago | 389d ago | 1233d ago |
| Age | 6y 4m | 9y 3m | 6y 2m |
Health Breakdown
spandex-hyphenation
Maintenance
3
Quality
13
Community
3
Popularity
5
Documentation
8
textwrap
Maintenance
5
Quality
11
Community
15
Popularity
8
Documentation
15
textwrap-macros
Maintenance
4
Quality
17
Community
10
Popularity
6
Documentation
9
Technical Details
| spandex-hyphenation | textwrap | textwrap-macros | |
|---|---|---|---|
| Version | 0.7.4 | 0.16.2 | 0.3.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | Apache-2.0/MIT | MIT | MIT |
| Dependencies | 13 | 8 | 2 |
| Crate Size | 3.7MB | 57KB | 6KB |
| Features | 6 | 1 | 2 |
| Yanked % | 0.0% | 7.4% | 0.0% |
| Edition | — | 2021 | 2018 |
| MSRV | — | 1.70 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •textwrap leads with a health score of 54/100, but none of the options score above 80.
- •textwrap is depended on by 8.0K crates — strongest ecosystem trust.
- •⚠ spandex-hyphenation, textwrap, textwrap-macros have not been updated in over a year.