Cargo Features
[dependencies]
icu_experimental = { version = "0.1.0", default-features = false, features = ["std", "compiled_data", "datagen", "ryu", "serde", "bench"] }
- default = compiled_data
-
The
compiled_data
feature is set by default whenevericu_experimental
is added without
somewhere in the dependency tree.default-features = false - std datagen?
-
Enables std of fixed_decimal, icu_decimal, icu_locid, icu_pattern, icu_plurals, and icu_provider
- compiled_data default
-
Enables icu_experimental_data, compiled_data of icu_decimal, compiled_data of icu_locid_transform, icu_normalizer, icu_plurals, and icu_properties
Affects
icu_experimental::provider.Baked
,parse::parse
,parse::parse_with_variables
… - datagen = log, serde, std
-
Enables databake, databake of icu_collections and icu_pattern, databake of tinystr, zerotrie, and zerovec and datagen of icu_provider
icu_provider:
Dependencies for running data generation
Affects
icu_experimental::provider.KEYS
… - ryu
-
Enables ryu of fixed_decimal
- serde datagen?
-
Enables serde, serde of tinystr, zerotrie, and zerovec and serde of icu_collections, icu_decimal, icu_pattern, icu_plurals, and icu_provider
icu_provider:
Enable BufferProvider and other deserialization infrastructure
- bench
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.