Cargo Features

[dependencies]
icu_datetime = { version = "2.1.1", default-features = false, features = ["serde", "datagen", "logging", "experimental", "compiled_data", "ixdtf"] }
default = compiled_data, ixdtf

These default features are set whenever icu_datetime is added without default-features = false somewhere in the dependency tree.

serde datagen?

Enables serde, zerotrie, alloc and serde of icu_provider, serde of zerovec, serde of icu_calendar, icu_decimal, icu_pattern, and icu_plurals, serde of tinystr and optional smallvec, serde of icu_time, potential_utf, and optional litemap

datagen = serde

Enables databake and either, litemap and smallvec, datagen of icu_calendar, databake of icu_pattern, datagen of icu_plurals, datagen of icu_time and export of icu_provider

icu_provider:

Dependencies for running data generation

Affects provider::skeleton, provider::MARKERS, helpers::maybe_replace_first, helpers::maybe_replace, fields::components

logging

Enables logging of icu_calendar

experimental

Affects fields::components

compiled_data default

Enables icu_datetime_data, compiled_data of icu_calendar, compiled_data of icu_time, compiled_data of icu_decimal, icu_locale, and icu_plurals and baked of icu_provider

icu_provider:

Dependencies for baked provider scaffolding

Affects provider::Baked

ixdtf default

Enables ixdtf of icu_calendar and icu_time