[[bench]]
harness = false
name = "bench"
[[test]]
name = "complex_word"
required-features = ["auto"]
[dependencies.core_maths]
default-features = false
optional = true
version = "0.1.0"
[dependencies.databake]
default-features = false
features = ["derive"]
optional = true
version = "0.1.8"
[dependencies.displaydoc]
default-features = false
version = "0.2.3"
[dependencies.icu_collections]
default-features = false
version = "~1.5.0"
[dependencies.icu_locid]
default-features = false
version = "~1.5.0"
[dependencies.icu_locid_transform]
default-features = false
features = ["compiled_data"]
optional = true
version = "~1.5.0"
[dependencies.icu_provider]
default-features = false
features = ["macros"]
version = "~1.5.0"
[dependencies.icu_segmenter_data]
default-features = false
optional = true
version = "~1.5.0"
[dependencies.serde]
default-features = false
features = ["derive", "alloc"]
optional = true
version = "1.0.110"
[dependencies.utf8_iter]
default-features = false
version = "1.0.2"
[dependencies.zerovec]
default-features = false
features = ["yoke"]
version = "0.10.2"
[dev-dependencies.itertools]
version = "0.10.3"
[dev-dependencies.serde]
default-features = false
features = ["derive"]
version = "1.0.110"
[dev-dependencies.serde_json]
version = "1.0.45"
[features]
auto = ["lstm"]
bench = []
compiled_data = ["dep:icu_segmenter_data"]
datagen = ["serde", "dep:databake", "zerovec/databake", "icu_collections/databake"]
default = ["compiled_data", "auto"]
lstm = ["dep:core_maths"]
serde = ["dep:serde", "zerovec/serde", "icu_collections/serde", "icu_provider/serde"]
std = ["icu_collections/std", "icu_locid/std", "icu_provider/std"]
[lib]
bench = false
[package]
authors = ["The ICU4X Project Developers"]
categories = ["internationalization"]
description = "Unicode line breaking and text segmentation algorithms for text boundaries analysis"
edition = "2021"
homepage = "https://icu4x.unicode.org"
include = ["data/**/*", "src/**/*", "examples/**/*", "benches/**/*", "tests/**/*", "Cargo.toml", "LICENSE", "README.md"]
license = "Unicode-3.0"
name = "icu_segmenter"
readme = "README.md"
repository = "https://github.com/unicode-org/icu4x"
rust-version = "1.67"
version = "1.5.0"
[package.metadata.docs.rs]
all-features = true
[target."cfg(not(target_arch = \"wasm32\"))".dev-dependencies.criterion]
version = "0.5.0"