Cargo Features

[dependencies]
icu_datetime = { version = "1.4.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_datetime is added without default-features = false somewhere in the dependency tree.

std datagen?

Enables std of icu_calendar, icu_decimal, icu_locid, icu_plurals, icu_provider, and icu_timezone

serde bench? datagen?

Enables serde, serde of smallvec, tinystr, and zerovec and serde of icu_calendar, icu_decimal, icu_plurals, icu_provider, and icu_timezone

icu_provider:

Enable BufferProvider and other deserialization infrastructure

and serde of optional litemap

Experimental

datagen = serde, std

Enables databake, litemap and datagen of icu_calendar, icu_provider, and icu_timezone

icu_provider:

Dependencies for running data generation

Affects provider::KEYS, icu_datetime::skeleton, options::components, options::preferences, helpers::maybe_replace, provider::neo

experimental

Enables litemap

Affects icu_datetime::skeleton, options::components, options::preferences, helpers::maybe_replace, provider::neo

compiled_data default

Enables icu_datetime_data, icu_locid_transform, compiled_data of icu_calendar, compiled_data of icu_decimal, compiled_data of icu_plurals and icu_timezone

Affects provider::Baked

bench = serde