rustio rustio.net
63

unicode-truncate

v2.0.1 Stable

Unicode-aware algorithm to pad or truncate `str` in terms of displayed width.

MIT OR Apache-2.0 Edition 2018 MSRV 1.66
#text#unicode#width#pad#truncate

Quick Verdict

  • โœ“Actively maintained (updated 71d ago)
  • โœ“Stable API (2.x for 6+ years)
  • โœ“Trusted by 565 crates
  • โœ“Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
19.0M
Dependents
565
Releases
7
Size
18KB

Deep Insights

๐Ÿ“ˆ
Strong growth momentum

3.7M downloads in the last 30 days (124.5K/day), up 33% from the previous period.

๐Ÿ”—
Moderate adoption

565 crates depend on unicode-truncate. Reasonable ecosystem adoption, though not yet a core dependency.

โœ…
Stable for 6+ years

The API has been stable (1.x) for over 6 years with 7 releases. This level of maturity means you can depend on it without worrying about breaking changes.

๐Ÿ“
Compact crate

At 18KB, unicode-truncate is lightweight. Small crate size correlates with focused, well-scoped functionality.

๐ŸŒŸ
Used by top crates

Notable dependents include ratatui-core, gitui, asyncgit, gnostr, oura. When high-quality crates choose unicode-truncate, it's a strong quality signal.

Health Breakdown

Maintenance 13/25

Recency, release consistency, active ratio

Quality 20/25

Yanked ratio, deps, size, maturity, features

Community 11/20

Reverse deps, ownership, ecosystem

Popularity 8/15

Downloads, momentum, growth trend

Documentation 11/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
93K/day avg+94%
050K100K150K12/291/162/32/213/113/28

Top Dependents

Version Adoption

v1.1.0
78%
v2.0.1
11%
v1.0.0
5%
v2.0.0
4%
v0.2.0
2%

Release Timeline

7 releasessince 2019
J
F
M
A
M
J
J
A
S
O
N
D
2019
2
2020
1
2021
2022
2023
2024
3
2025
2026
1
Less
More

Feature Flags

default =["std"]

std*

README

Loading README...

Maintainers

Dependencies
4
direct dependencies
Dependents
565
crates depend on unicode-truncate

Similar Crates