Email me

Crate features / textwrap

Feature flags · textwrap 0.16.4 · from crates.io 2026-10-24

textwrap features: what each one does, and the line to copy

Short answertextwrap 0.16.4 has 7 features. By default it turns on std, unicode-linebreak, unicode-width, smawk; add default-features = false to start from nothing. It needs Rust 1.88 or newer.

Pick features

0.16.4latest version
7features
4optional dependencies
1.88MSRV (rust-version)

Every feature

FeatureIn defaultTurns on
hyphenationstd, dep:hyphenation
smawkyesstd, dep:smawk
stdyesunicode-width?/default
terminal_sizestd, dep:terminal_size
unicode-linebreakyesstd, icu_segmenter
unicode-linebreak-complexunicode-linebreak, icu_segmenter/auto
unicode-widthyesdep:unicode-width

dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).

MSRV history

The minimum Rust version textwrap declares (rust-version), and the release that changed it:

  • 0.16.1 (2024-02-17): Rust 1.56
  • 0.16.2 (2025-03-03): Rust 1.70
  • 0.16.3 (2026-09-09): Rust 1.90
  • 0.16.4 (2026-09-13): Rust 1.88

Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p textwrap --precise <version>, or use resolver 3, which picks compatible versions for you.

More on textwrap

Real downloads, dependents and alternatives: textwrap crate data (692K real downloads a day, 750 dependents).

docs.rs feature list · crates.io · license MIT · edition 2021

Up next

Before you depend on ittextwrap crate dataReal downloads, dependents, alternatives.Read it next →

Did this answer your question?

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.

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