textwrap

crates.io v0.16.2

3,270,592 weekly downloads · 5 Dependencies

Source data as of:

Summary

Library for word wrapping, indenting, and dedenting strings. Has optional support for Unicode and emojis as well as machine hyphenation.

Install cargo add textwrap

Registry values

Reproduced verbatim from the official registry, with the source named on each value.

Weekly downloads 3,270,592 Source: crates.io (Rust)
Releases 27 Last release: 2025-03-03 Source: crates.io (Rust)
Dependencies 5 Source: crates.io (Rust)

Description

Library for word wrapping, indenting, and dedenting strings. Has optional support for Unicode and emojis as well as machine hyphenation.

Registry-supplied description, cleaned to plain text. Source: crates.io (Rust).

Package details

Package
textwrap
Registry
crates.io
Version
0.16.2
Weekly downloads
3,270,592 (weekly)
Dependencies
5: hyphenation, smawk, terminal_size, unicode-linebreak, unicode-width
Releases
27
Last release
2025-03-03
First published
2016-12-17
Keywords
text, typesetting, wrap, formatting, hyphenation
Repository
https://github.com/mgeisler/textwrap

Why a field shows "—": A dash means the value is not published by the source registry for that package. Quanteta never fills in a guessed value — a missing field stays blank.

Derived indices (computation method published)

Quanteta-computed from the registry values below. This is a derived index, not a measured registry metric. See the formula on the Data & Sources page.

Q-Vitality Quanteta 36.4 / 100 Maintenance activity index (release cadence + download level).
Q-Trust Quanteta 19.8 / 100 Adoption / stability index (community size + download stability + age).
Q-Risk Quanteta 70.0 / 100 Dependency-surface index. Higher = more risk factors detected.

Data & Sources