Cargo Features

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

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

std
serde bench? datagen?

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

icu_provider:

Enable BufferProvider and other deserialization infrastructure

datagen = serde

Enables databake, databake of icu_collections, icu_locale_core, tinystr, and zerovec

Affects provider::MARKERS

compiled_data default

Enables icu_locale_data

Affects provider::Baked

bench = serde