Cargo Features
[dependencies]
icu_datetime = { version = "2.0.0-beta1", 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_locale_core, 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_pattern, icu_plurals, icu_provider, and icu_timezone
icu_provider:
Enable BufferProvider and other deserialization infrastructure
and serde of potential_utf and optional litemap
litemap:
Experimental
Affects
fieldsets::serde
… - datagen bench? = serde, std
-
Enables databake, litemap, datagen of icu_calendar, databake of icu_pattern, datagen of icu_plurals and icu_timezone
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
,fieldsets::serde
… - compiled_data default
-
Enables icu_datetime_data, compiled_data of icu_calendar, compiled_data of icu_decimal, icu_plurals, and icu_timezone
Affects
provider::Baked
… - bench = datagen, serde