unicode-truncate
Unicode-aware algorithm to pad or truncate `str` in terms of displayed width.
3.0.0
44M downloads/mo
#1337 most downloaded on crates.io
Aetf/unicode-truncate
What this package is like to depend on
Last release 3 days ago
20 Aug 2026
Release timing varies
gaps range from 2 months to 3.4 years
Most releases are documented
notes for 6 of 8 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
8 releases · first in 2019
2 releases in the last 12 months
see the full history below
Release timeline
8 releases · Aug 2019 to Aug 2026Releases
latest 8-
3.0.020 Aug 2026Release notes
Open source →Fixed
- (deps) update all non-major dependencies
Other
- publish to crates.io via trusted publishing
- [breaking] bump MSRV to 1.85
- (deps) update actions/checkout action to v7
- (deps) update actions/create-github-app-token action to v3
Release notes
Open source →Fixed
- (deps) update all non-major dependencies
Other
- publish to crates.io via trusted publishing
- [breaking] bump MSRV to 1.85
- (deps) update actions/checkout action to v7
- (deps) update actions/create-github-app-token action to v3
-
2.0.115 Jan 2026Release notes
Open source →Fixed
- (deps) update criterion to 0.8
- (deps) update itertools to 0.14
Other
- update README.md
- (deps) update actions/create-github-app-token action to v2
- (deps) update actions/checkout action to v6
Release notes
Open source →Fixed
- (deps) update criterion to 0.8
- (deps) update itertools to 0.14
Other
- update README.md
- (deps) update actions/create-github-app-token action to v2
- (deps) update actions/checkout action to v6
-
2.0.010 Nov 2024Release notes
Open source →Fixed
- (deps) update rust crate unicode-width to 0.2
Other
- make release-plz use github app token
- [breaking] bump MSRV to 1.66
Release notes
Open source →Fixed
- (deps) update rust crate unicode-width to 0.2
Other
- make release-plz use github app token
- [breaking] bump MSRV to 1.66
-
1.1.009 Jul 2024 -
1.0.027 Apr 2024Release notes
Open source →It's about time for a 1.0 release. This crate has been stable over the years.
Breaking changes
Formally define MSRV (minimum supported rust version) to
1.63.Added
Fixed
- prevent arithmetic side effects (#7)
- do not include zero-width characters at boundaries when truncate_start
Other
Release notes
Open source →It's about time for a 1.0 release. This crate has been stable over the years.
Breaking changes
Formally define MSRV (minimum supported rust version) to
1.63.Added
- new method
unicode_truncate_centered. Thanks @EdJoPaTo (#2, #3)
Fixed
- prevent arithmetic side effects (#7)
- do not include zero-width characters at boundaries when truncate_start
Other
- use release-plz
- use renovate (#4)
- move from Travis to Github Action
- update Rust crate criterion to 0.5 (#5)
- fix broken links
- Check in Cargo.lock per the latest guide
-
0.2.017 Dec 2020Release notes
Open source →- Added
unicode_truncate_start - Bump dependency version
- Add benchmarking
- Rewrite the logic using iterators for better performance
- Added
-
0.1.115 Aug 2019Nothing published for this version
-
0.1.015 Aug 2019Nothing published for this version