Cargo Features

[dependencies]
icu_locale = { version = "2.0.0-beta2", default-features = false, features = ["serde", "datagen", "compiled_data"] }
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.

serde 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