Cargo Features

[dependencies]
icu_plurals = { version = "2.0.0", default-features = false, features = ["serde", "datagen", "experimental", "compiled_data", "icu_normalizer_data"] }
default = compiled_data

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

serde datagen?

Enables serde, serde of zerovec and serde of icu_provider

icu_provider:

Enable BufferProvider and other deserialization infrastructure

datagen = serde

Enables databake, databake of zerovec and export of icu_provider

icu_provider:

Dependencies for running data generation

Affects operands::OperandsError, parser::parse_condition, provider::MARKERS

experimental

Affects icu_plurals::PluralRulesWithRanges, raw_operands::RawPluralOperands

compiled_data default

Enables icu_plurals_data, compiled_data of icu_locale and baked of icu_provider

icu_provider:

Dependencies for baked provider scaffolding

Affects provider::Baked

Features from optional dependencies

icu_normalizer_data implicit feature

Enables icu_normalizer_data

icu_normalizer_data:

Data for the icu_normalizer crate