Cargo Features

[dependencies]
icu_datetime = { version = "2.0.0-beta2", default-features = false, features = ["serde", "datagen", "logging", "experimental", "compiled_data", "ixdtf"] }
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.

serde datagen?

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

litemap:

Experimental

datagen = serde

Enables databake, litemap, 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

Enables litemap

Affects fields::components

compiled_data default

Enables icu_datetime_data, compiled_data of icu_calendar, compiled_data of icu_decimal, icu_plurals, and icu_time

Affects provider::Baked

ixdtf

Enables ixdtf of icu_calendar and icu_time