Crates.io | unicode-ellipsis |
lib.rs | unicode-ellipsis |
version | |
source | src |
created_at | 2024-05-08 00:42:09.134086+00 |
updated_at | 2025-01-07 04:31:52.963115+00 |
description | A crate to truncate Unicode strings to a certain width, automatically adding an ellipsis if the string is too long. |
homepage | |
repository | https://github.com/ClementTsang/unicode-ellipsis |
max_upload_size | |
id | 1233271 |
Cargo.toml error: | TOML parse error at line 22, column 1 | 22 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
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.