Cargo Features
[dependencies]
icu_decimal = { version = "2.1.1", default-features = false, features = ["alloc", "serde", "datagen", "compiled_data", "ryu"] }
- default = compiled_data
-
The
compiled_datafeature is set by default whenevericu_decimalis added withoutsomewhere in the dependency tree.default-features = false - alloc datagen?
-
Enables zerovec and alloc of optional serde
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.
- serde datagen?
-
Enables serde, serde of zerovec and serde of icu_provider
icu_provider:
Enable BufferProvider and other deserialization infrastructure
- datagen = alloc, serde
-
Enables databake, databake of zerovec and export of icu_provider
icu_provider:
Dependencies for running data generation
Affects
provider::MARKERS… - compiled_data default
-
Enables icu_decimal_data, compiled_data of icu_locale and baked of icu_provider
icu_provider:
Dependencies for baked provider scaffolding
Affects
provider::Baked… - ryu
-
Enables ryu of fixed_decimal