Cargo Features

[dependencies]
icu_segmenter = { version = "2.0.0-beta1", default-features = false, features = ["std", "serde", "datagen", "lstm", "auto", "compiled_data", "bench"] }
default = auto, compiled_data

These default features are set whenever icu_segmenter is added without default-features = false somewhere in the dependency tree.

std

Enables std of icu_collections, icu_locale_core, and icu_provider

serde datagen?

Enables serde, serde of zerovec and serde of icu_collections, icu_provider, and potential_utf

icu_provider:

Enable BufferProvider and other deserialization infrastructure

datagen = serde

Enables databake, databake of icu_collections, potential_utf, and zerovec

Affects provider::MARKERS

lstm auto

Enables core_maths

auto default = lstm

Enabled try_new_auto_unstable constructors

compiled_data default

Enables icu_segmenter_data

Affects provider::Baked

bench