Cargo Features
[dependencies]
icu_datetime = { version = "2.0.0", 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
somewhere in the dependency tree.default-features = false - 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_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