[[bench]]
harness = false
name = "benchmark"
[dependencies.itertools]
default-features = false
version = "0.13"
[dependencies.unicode-segmentation]
default-features = false
version = "1"
[dependencies.unicode-width]
version = "0.1"
[dev-dependencies.criterion]
version = "0.5"
[features]
default = ["std"]
std = []
[lib]
bench = false
[package]
authors = ["Aetf <aetf@unlimitedcodeworks.xyz>"]
description = """
Unicode-aware algorithm to pad or truncate `str` in terms of displayed width.
"""
edition = "2018"
exclude = ["benches/data/*"]
homepage = "https://github.com/Aetf/unicode-truncate"
keywords = ["text", "width", "unicode", "truncate", "pad"]
license = "MIT OR Apache-2.0"
name = "unicode-truncate"
readme = "README.md"
repository = "https://github.com/Aetf/unicode-truncate"
rust-version = "1.63"
version = "1.1.0"
[profile.bench]
codegen-units = 1
lto = true
[[test]]
name = "integration"
required-features = ["std"]