Cargo Features
[dependencies]
icu_properties = { version = "2.1.2", default-features = false, features = ["alloc", "serde", "datagen", "unicode_bidi", "compiled_data"] }
- default = compiled_data
-
The
compiled_datafeature is set by default whenevericu_propertiesis added withoutsomewhere in the dependency tree.default-features = false - alloc
-
Enables alloc of icu_collections, optional serde, and zerovec
serde:
Provide impls for types in the Rust core allocation and collections library including String, Box<T>, Vec<T>, and Cow<T>. This is a subset of std but may be enabled without depending on all of std.
Affects
names::PropertyEnumToValueNameSparseMap… - serde datagen?
-
Enables serde, serde of zerotrie and zerovec and serde of icu_collections, icu_locale_core, and icu_provider
icu_provider:
Enable BufferProvider and other deserialization infrastructure
- datagen = serde
-
Enables databake, databake of icu_collections and icu_locale_core, databake of zerotrie and zerovec and export of icu_provider
icu_provider:
Dependencies for running data generation
- unicode_bidi
-
Enables unicode-bidi
- compiled_data default
-
Enables icu_properties_data and baked of icu_provider
icu_provider:
Dependencies for baked provider scaffolding
Affects
code_point_map::EnumeratedProperty.for_char,code_point_set::BinaryProperty.for_char,names::NamedEnumeratedProperty.try_from_str,names::NamedEnumeratedProperty.long_name,names::NamedEnumeratedProperty.short_name,provider::Baked…