A crate to truncate Unicode strings to a certain width, automatically adding an ellipsis if the string is too long. Also has some helper functions around Unicode grapheme and string width.
Dual-licensed under Apache 2.0 and MIT.
A crate to truncate Unicode strings and add ellipsis to them.
RustApache-2.0