Cargo Features

icu_provider has no features set by default.

[dependencies]
icu_provider = { version = "2.0.0-beta1", features = ["std", "sync", "macros", "bench", "logging", "serde", "deserialize_json", "deserialize_bincode_1", "deserialize_postcard_1", "export"] }
std deserialize_bincode_1? export?

Enables std of icu_locale_core

Affects icu_provider::log

sync export?

Affects any::MaybeSendSync

macros

Enables icu_provider_macros

bench
logging

Enable logging of additional context of data errors

Enables log

serde deserialize_bincode_1? deserialize_json? deserialize_postcard_1? export?

Enable BufferProvider and other deserialization infrastructure

Enables serde, serde of yoke

Affects icu_provider::serde_borrow_de_utils

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

export = serde, std, sync

Dependencies for running data generation

Enables databake, erased-serde ^0.3.11, and postcard

Affects icu_provider::export