Cargo Features

icu_provider has no features set by default.

[dependencies]
icu_provider = { version = "1.5.0", features = ["std", "sync", "experimental", "macros", "bench", "logging", "log_error_context", "serde", "deserialize_json", "deserialize_bincode_1", "deserialize_postcard_1", "datagen"] }
std datagen? deserialize_bincode_1?

Enables std of icu_locid

sync datagen?

Affects any::MaybeSendSync

experimental

Affects request::AuxiliaryKeys

macros

Enables icu_provider_macros

bench
logging log_error_context?

Enable logging of additional context of data errors

Enables log

log_error_context = logging

Legacy name

serde datagen? deserialize_bincode_1? deserialize_json? deserialize_postcard_1?

Enable BufferProvider and other deserialization infrastructure

Enables serde, serde of yoke

Affects icu_provider::serde

deserialize_json = serde

Features for specific serde formats

Enables serde_json

Affects hello_world::HelloWorldJsonProvider

deserialize_bincode_1 = serde, std

Enables bincode

serde

deserialize_postcard_1 = serde

Enables postcard

datagen = serde, std, sync

Dependencies for running data generation

Enables databake and erased-serde ^0.3.11

Affects icu_provider::datagen