[package]
edition = "2021"
name = "unicode-ellipsis"
version = "0.5.0"
authors = ["Clement Tsang <cjhtsang@uwaterloo.ca>"]
build = false
exclude = [
".github",
"CHANGELOG.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A crate to truncate Unicode strings to a certain width, automatically adding an ellipsis if the string is too long."
documentation = "https://docs.rs/unicode-ellipsis"
readme = "README.md"
keywords = [
"text",
"unicode",
"word",
"strings",
]
categories = [
"text-processing",
"value-formatting",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ClementTsang/unicode-ellipsis"
[features]
default = ["fish"]
fish = []
[lib]
name = "unicode_ellipsis"
path = "src/lib.rs"
test = true
doctest = true
doc = true
[dependencies.unicode-segmentation]
version = "1.13.3"
[dependencies.unicode-width]
version = "0.2.2"
default-features = false
[lints.clippy]
missing_safety_doc = "deny"
todo = "deny"
unimplemented = "deny"
[lints.rust]
rust_2018_idioms = "deny"
[lints.rustdoc]
broken_intra_doc_links = "deny"
missing_crate_level_docs = "deny"