# 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 = "2018"
rust-version = "1.63"
name = "unicode-truncate"
version = "1.1.0"
authors = ["Aetf <aetf@unlimitedcodeworks.xyz>"]
exclude = ["benches/data/*"]
description = """
Unicode-aware algorithm to pad or truncate `str` in terms of displayed width.
"""
homepage = "https://github.com/Aetf/unicode-truncate"
readme = "README.md"
keywords = [
    "text",
    "width",
    "unicode",
    "truncate",
    "pad",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Aetf/unicode-truncate"

[profile.bench]
lto = true
codegen-units = 1

[lib]
bench = false

[[test]]
name = "integration"
required-features = ["std"]

[[bench]]
name = "benchmark"
harness = false

[dependencies.itertools]
version = "0.13"
default-features = false

[dependencies.unicode-segmentation]
version = "1"
default-features = false

[dependencies.unicode-width]
version = "0.1"

[dev-dependencies.criterion]
version = "0.5"

[features]
default = ["std"]
std = []
