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