# 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.66" name = "unicode-truncate" version = "2.0.0" authors = ["Aetf "] build = false exclude = ["benches/data/*"] autobins = false autoexamples = false autotests = false autobenches = false 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] name = "unicode_truncate" path = "src/lib.rs" bench = false [[test]] name = "integration" path = "tests/integration.rs" required-features = ["std"] [[test]] name = "no_std" path = "tests/no_std.rs" [[bench]] name = "benchmark" path = "benches/benchmark.rs" harness = false [dependencies.itertools] version = "0.13" default-features = false [dependencies.unicode-segmentation] version = "1" default-features = false [dependencies.unicode-width] version = "0.2" [dev-dependencies.criterion] version = "0.5" [features] default = ["std"] std = []