Cargo Features

[dependencies]
icu_plurals = { version = "1.5.0", default-features = false, features = ["std", "serde", "datagen", "experimental", "compiled_data", "bench"] }
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.

std

Enables std of fixed_decimal and icu_provider

serde bench? 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

Affects provider::KEYS

experimental

Affects icu_plurals::PluralRulesWithRanges, raw_operands::RawPluralOperands

compiled_data default

Enables icu_locid_transform and icu_plurals_data

Affects provider::Baked

bench = serde