Cargo Features

[dependencies]
icu_collator = { version = "2.0.0-beta1", 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_locale_core, 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 and datagen of icu_normalizer and icu_properties

icu_normalizer:

n.b. "icu_properties" + "icu_properties?/datagen" is equivalent to "icu_properties/datagen", however we specify this explicitly since "optional_dep/feature" is a footgun that leads to us often accidentally enabling features

Affects provider::MARKERS

compiled_data default

Enables icu_collator_data, compiled_data of icu_normalizer

Affects provider::Baked