Cargo Features
[dependencies]
icu_collator = { version = "2.1.1", default-features = false, features = ["serde", "datagen", "compiled_data", "unstable"] }
- default = compiled_data
-
The
compiled_datafeature is set by default whenevericu_collatoris added withoutsomewhere in the dependency tree.default-features = false - 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, export of icu_provider, 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_locale and icu_normalizer and baked of icu_provider
icu_provider:
Dependencies for baked provider scaffolding
Affects
provider::Baked… - latin1 unstable