Email me

Crates / textwrap

Rust crate · real downloads · data Oct 24, 2026

textwrap downloads, and should you depend on it?

Library for word wrapping, indenting, and dedenting strings. Has optional support for Unicode and emojis as well as machine hyphenation. crates.io · docs · repository

Owned on crates.io by mgeisler · alternatives · is it still maintained?

Feature flags + Cargo.toml picker

EstablishedShould you depend on textwrap? The data says

Established and steady.

textwrap: 750 crates depend on it; downloads don't spike on releases.

692Kreal downloads a day (quiet-day median)
750crates depend on it
41 dayssince the last release (0.16.4)
-4%quiet-day trend vs the field, 90 days
How this verdict is decided (4 rules)
  • Usage: crates.io reverse dependencies (crates that list it as a dependency): 10,000+ = foundational, 1,000+ = widely used, 100+ = established, under 100 = few direct dependents.
  • Direction: the median quiet day in the last 30 days of the window against the first 30, read against the median tracked crate (the whole field moved +39% from late summer to October, so a raw trend says nothing). 10%+ ahead of the field = gaining; 10%+ behind = losing ground; otherwise steady. Steady with no release in 2+ years = quiet for years.
  • Release spikes: the median release-window day against the quiet-day baseline: under 1.15x = no spike, 1.15x to 1.3x = small bumps, 1.3x or more = jumps on release days.
  • Release recency: days since the newest version that was not yanked, from crates.io publish times.
Data: crates.io API, Jul 27, 2026 to Oct 23, 2026, fetched Oct 24, 2026. Downloads are not users: read the baseline as steady use, not a head count.
2026-07-27: 608,3482026-07-28: 659,1642026-07-29: 691,9782026-07-30: 683,2902026-07-31: 658,7202026-08-01: 455,0752026-08-02: 428,8682026-08-03: 669,7852026-08-04: 699,4732026-08-05: 705,8252026-08-06: 602,6792026-08-07: 645,7292026-08-08: 420,4632026-08-09: 385,7482026-08-10: 610,3592026-08-11: 649,3062026-08-12: 636,0842026-08-13: 665,2022026-08-14: 639,2612026-08-15: 448,9812026-08-16: 466,3102026-08-17: 607,5102026-08-18: 643,1312026-08-19: 629,3182026-08-20: 669,6692026-08-21: 668,9862026-08-22: 431,6232026-08-23: 452,9082026-08-24: 689,0132026-08-25: 709,4322026-08-26: 725,1262026-08-27: 761,3792026-08-28: 819,5012026-08-29: 475,8972026-08-30: 409,3052026-08-31: 729,3742026-09-01: 803,8832026-09-02: 848,7372026-09-03: 783,8762026-09-04: 758,5312026-09-05: 599,9472026-09-06: 549,8462026-09-07: 668,6472026-09-08: 790,3982026-09-09: 780,494 (release window)2026-09-10: 811,411 (release window)2026-09-11: 695,3262026-09-12: 537,4422026-09-13: 450,541 (release window)2026-09-14: 791,445 (release window)2026-09-15: 867,0982026-09-16: 750,6862026-09-17: 834,3742026-09-18: 770,5612026-09-19: 503,3822026-09-20: 522,9982026-09-21: 738,4112026-09-22: 831,2642026-09-23: 865,6172026-09-24: 820,7092026-09-25: 783,8342026-09-26: 491,8632026-09-27: 509,1912026-09-28: 817,1972026-09-29: 855,5342026-09-30: 865,5122026-10-01: 874,1522026-10-02: 806,3412026-10-03: 504,5602026-10-04: 466,8372026-10-05: 765,5762026-10-06: 860,5282026-10-07: 901,5892026-10-08: 888,8702026-10-09: 870,5372026-10-10: 589,6322026-10-11: 541,6282026-10-12: 764,1792026-10-13: 924,6162026-10-14: 996,3382026-10-15: 932,8152026-10-16: 872,5542026-10-17: 531,0062026-10-18: 516,1312026-10-19: 966,1402026-10-20: 970,9362026-10-21: 1,081,5702026-10-22: 1,197,9902026-10-23: 1,062,350

release window (release day + next day)quiet dayquiet-day median · download the 89 days as CSV

The numbers in one paragraphtextwrap got 62,438,450 crates.io downloads from Jul 27, 2026 to Oct 23, 2026. 5% of them landed within 2 days of one of its 2 releases. On the other 85 quiet days it got a median of 691,978 a day, about 4,843,846 a week. Capping release days at that baseline leaves 62,131,034 release-adjusted downloads for the window.

What this means if you're choosing a dependency

  • Used, not everywhere. 750 crates depend on it. Look at how fast its issues get answered before you lean on it.
  • Actively released. 0.16.4 shipped 41 days ago (Sep 13, 2026).
  • Still pre-1.0 (0.16.4). Under Cargo's semver rules a 0.x minor bump may break you, so pin the minor version (textwrap = "0.16") and read the changelog on upgrades.
  • Fit check: license MIT, edition 2021, needs Rust 1.88 or newer (from the latest version's manifest).
  • Compare it by the baseline, not the raw count. 5% of its 62,438,450 downloads in the window landed within 2 days of a release; the steady number is 691,978 a day.

Alternatives that do a similar job

Crates that share its crates.io category or keywords, most similar first. Each line is the crate's own description, then how it compares on the same data.

Its place in the dependency graph

textwrap builds on

Tracked crates its latest version (0.16.4) depends on (optional ones marked).

What the chart says

  • Weekend quiet days ran at 64% of weekday quiet days (491,863 vs 764,878). A dip that deep is the signature of work-week CI pipelines and developers building on weekdays.
  • Biggest day: 1,197,990 on Oct 22, 2026, a quiet day with no release nearby.

Every number

All-time downloads455,562,209 (rank #306 on crates.io by all-time downloads)
Downloads in the window62,438,450 (Jul 27, 2026 to Oct 23, 2026, 89 days)
Within 2 days of a release2,833,891 (4.5%)
Quiet-day median (baseline)691,978 a day; weekdays 764,878, weekends 491,863
Release-adjusted downloads62,131,034 (release-window days capped at the baseline)
Baseline rank#521 of the 1000 crates we track
Quiet-day trend+34% raw, -4% against the median tracked crate (+39%)
Releases in the window2
Versions published, ever29
Latest version0.16.4, published Sep 13, 2026 (license MIT, edition 2021, MSRV 1.88)
First publishedDec 17, 2016
Reverse dependencies750

Releases in the window

Each one opens a 2-day release window on the chart.

VersionPublishedDownloads that version got (lifetime)
0.16.4Sep 13, 20265,054,279
0.16.3Sep 9, 2026440,655

How we compute this

crates.io counts every download, including CI runners, mirrors and bots that fetch each new version, so raw counts run high (why, in The Manual). We split the last 89 days into release windows (the day a version of textwrap was published, plus the next day) and quiet days, and use the median quiet day as the baseline: an upper bound on steady use, never a head count. The method and data come from our study of 90 days of crates.io data from 69 crates, featured in This Week in Rust #674; check any crate live with the real-downloads checker.

Badge for your README

Maintainers can show the baseline in a README. It is optional, updates when we refresh the data, and links back here. Preview, then copy:

README, light

textwrap real downloads per day badge

README, dark

Publishing a crate of your own? How to publish a Rust crate to crates.io, step by step.

Categories

Sources

Up next

Next in text processing: Next in Text processing by real downloads: 625,693 a day, 1,909 dependents. Widely used and gaining.pulldown-cmarkRust crate. A pull parser for CommonMark. Real use: 626K downloads a day on quiet days; 1,909 crates depend on it.Read it next →

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Cite this

Free to cite and reuse under CC BY 4.0 with a link back. How it was collected: methods. Spotted an error? Corrections.

Did this answer your question?

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ