# 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" rust-version = "1.71.1" name = "icu_segmenter" version = "2.0.0-beta1" authors = ["The ICU4X Project Developers"] build = false include = [ "data/**/*", "src/**/*", "examples/**/*", "benches/**/*", "tests/**/*", "Cargo.toml", "LICENSE", "README.md", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Unicode line breaking and text segmentation algorithms for text boundaries analysis" homepage = "https://icu4x.unicode.org" readme = "README.md" categories = ["internationalization"] license = "Unicode-3.0" repository = "https://github.com/unicode-org/icu4x" [package.metadata.docs.rs] all-features = true [lib] name = "icu_segmenter" path = "src/lib.rs" bench = false [[test]] name = "complex_word" path = "tests/complex_word.rs" required-features = ["auto"] [[test]] name = "css_line_break" path = "tests/css_line_break.rs" [[test]] name = "css_word_break" path = "tests/css_word_break.rs" [[test]] name = "locale" path = "tests/locale.rs" [[test]] name = "spec_test" path = "tests/spec_test.rs" [[test]] name = "word_rule_status" path = "tests/word_rule_status.rs" [[bench]] name = "bench" path = "benches/bench.rs" harness = false [dependencies.core_maths] version = "0.1.0" optional = true default-features = false [dependencies.databake] version = "0.2.0" features = ["derive"] optional = true default-features = false [dependencies.displaydoc] version = "0.2.3" default-features = false [dependencies.icu_collections] version = "~2.0.0-beta1" default-features = false [dependencies.icu_locale_core] version = "2.0.0-beta1" default-features = false [dependencies.icu_provider] version = "2.0.0-beta1" features = ["macros"] default-features = false [dependencies.icu_segmenter_data] version = "~2.0.0-beta1" optional = true default-features = false [dependencies.potential_utf] version = "0.1.0" features = ["zerovec"] default-features = false [dependencies.serde] version = "1.0.110" features = [ "derive", "alloc", ] optional = true default-features = false [dependencies.utf8_iter] version = "1.0.2" default-features = false [dependencies.zerovec] version = "0.11.0" features = ["yoke"] default-features = false [dev-dependencies.itertools] version = "0.10.3" [dev-dependencies.serde] version = "1.0.110" features = ["derive"] default-features = false [dev-dependencies.serde_json] version = "1.0.45" [features] auto = ["lstm"] bench = [] compiled_data = ["dep:icu_segmenter_data"] datagen = [ "serde", "dep:databake", "potential_utf/databake", "zerovec/databake", "icu_collections/databake", ] default = [ "compiled_data", "auto", ] lstm = ["dep:core_maths"] serde = [ "dep:serde", "potential_utf/serde", "zerovec/serde", "icu_collections/serde", "icu_provider/serde", ] std = [ "icu_collections/std", "icu_locale_core/std", "icu_provider/std", ] [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.criterion] version = "0.5.0"