Cargo Features
[dependencies]
icu_datetime = { version = "1.5.1", default-features = false, features = ["std", "serde", "datagen", "logging", "experimental", "compiled_data", "bench"] }
- default = compiled_data
-
The
compiled_data
feature is set by default whenevericu_datetime
is added without
somewhere in the dependency tree.default-features = false - 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
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
,calendar::NeverCalendar
,calendar::CalMarkers
,calendar::FullDataCalMarkers
,calendar::NoDataCalMarkers
,icu_datetime::neo_skeleton
,icu_datetime::skeleton
,options::components
,options::preferences
,helpers::maybe_replace
,provider::neo
… - logging
-
Enables logging of icu_calendar
- experimental
-
Enables litemap
Affects
format::neo
,icu_datetime::neo
,icu_datetime::neo_marker
,icu_datetime::neo_pattern
,calendar::NeverCalendar
,calendar::CalMarkers
,calendar::FullDataCalMarkers
,calendar::NoDataCalMarkers
,icu_datetime::neo_skeleton
,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