Cargo Features
[dependencies]
icu_experimental = { version = "0.3.0-beta2", default-features = false, features = ["compiled_data", "datagen", "ryu", "serde"] }
- default = compiled_data
-
The
compiled_data
feature is set by default whenevericu_experimental
is added without
somewhere in the dependency tree.default-features = false - compiled_data default
-
Enables icu_experimental_data, compiled_data of icu_decimal, compiled_data of icu_list, icu_normalizer, icu_plurals, and icu_properties
Affects
icu_experimental::provider.Baked
,parse::parse
,parse::parse_with_variables
… - datagen = log, serde
-
Enables databake, datagen of icu_plurals, databake of icu_collections and icu_pattern, databake of tinystr, zerotrie, and zerovec and export of icu_provider
icu_provider:
Dependencies for running data generation
Affects
icu_experimental::provider.MARKERS
… - ryu
-
Enables ryu of fixed_decimal
- serde datagen?
-
Enables serde, alloc and serde of icu_provider, serde of potential_utf, serde of tinystr, zerotrie, and zerovec, serde of icu_collections, icu_decimal, icu_list, icu_normalizer, icu_pattern, and icu_plurals
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.