Cargo Features

[dependencies]
icu_collator = { version = "1.5.0", default-features = false, features = ["std", "serde", "datagen", "compiled_data"] }
default = compiled_data

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

std

Enables std of icu_collections, icu_normalizer, icu_properties, and icu_provider

serde datagen?

Enables serde, serde of zerovec and serde of icu_collections, icu_normalizer, icu_properties, and icu_provider

icu_provider:

Enable BufferProvider and other deserialization infrastructure

datagen = serde

Enables databake, databake of icu_collections, databake of zerovec, datagen of icu_normalizer and icu_properties

Affects provider::KEYS

compiled_data default

Enables icu_collator_data and icu_locid_transform, compiled_data of icu_normalizer

Affects provider::Baked