unicode-ellipsis

Crates.iounicode-ellipsis
lib.rsunicode-ellipsis
version
sourcesrc
created_at2024-05-08 00:42:09.134086+00
updated_at2025-01-07 04:31:52.963115+00
descriptionA crate to truncate Unicode strings to a certain width, automatically adding an ellipsis if the string is too long.
homepage
repositoryhttps://github.com/ClementTsang/unicode-ellipsis
max_upload_size
id1233271
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`
size0
Clement Tsang (ClementTsang)

documentation

https://docs.rs/unicode-ellipsis

README

unicode-ellipsis

crates.io link Documentation

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.

Licensing

Dual-licensed under Apache 2.0 and MIT.

Commit count: 20

cargo fmt