Cargo Features

[dependencies]
icu_list = { version = "2.0.0-beta2", default-features = false, features = ["alloc", "serde", "serde_human", "datagen", "compiled_data"] }
default = compiled_data

The compiled_data feature is set by default whenever icu_list is added without default-features = false somewhere in the dependency tree.

alloc datagen? serde_human?

Enables alloc of icu_provider, optional serde, and zerovec

serde:

Provide impls for types in the Rust core allocation and collections library including String, Box<T>, Vec<T>, and Cow<T>. This is a subset of std but may be enabled without depending on all of std.

serde datagen? serde_human?

Enables serde, alloc and serde of icu_provider, serde of zerovec

serde_human datagen? = alloc, serde

Enables dfa-build and syntax of regex-automata

datagen = alloc, serde, serde_human

Enables databake, dfa-build and syntax of regex-automata, databake of zerovec

Affects provider::MARKERS

compiled_data default

Enables icu_list_data

Affects provider::Baked