rustio rustio.net
65

unicode-truncate

v3.0.0 Stable

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

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

Quick Verdict

  • โœ“Actively maintained (updated 50d ago)
  • โœ“Stable API (3.x for 7+ years)
  • โœ“Trusted by 728 crates
  • โœ“Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
58.4M
Dependents
728
Releases
8
Size
18KB

Deep Insights

๐Ÿ“ˆ
Strong growth momentum

9.7M downloads in the last 30 days (325.0K/day), up 28% from the previous period.

๐Ÿ”—
Moderate adoption

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

โœ…
Stable for 7+ years

The API has been stable (1.x) for over 7 years with 8 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, gnostr-types. When high-quality crates choose unicode-truncate, it's a strong quality signal.

Health Breakdown

Maintenance 14/25

Recency, release consistency, active ratio

Quality 21/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
29K/day avg-100%
0100K200K300K400K8/239/109/2810/1611/311/20

Top Dependents

Version Adoption

v1.1.0
55%
v2.0.1
40%
v1.0.0
2%
v2.0.0
2%
v0.2.0
1%

Release Timeline

8 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
2
Less
More

Feature Flags

default =["std"]

std*

README

Loading README...

Maintainers

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

Similar Crates