unicode-ellipsis 0.5.0

A crate to truncate Unicode strings to a certain width, automatically adding an ellipsis if the string is too long.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[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"