Cargo Features

icu_locale_core has no features set by default.

[dependencies]
icu_locale_core = { version = "2.1.1", features = ["alloc", "databake", "serde", "zerovec"] }
alloc databake?

Enables alloc of litemap, optional serde, tinystr, and writeable

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 extensions::Extensions.other, langid::parse_language_identifier_from_iter, langid::parse_language_identifier, locale::parse_locale

databake = alloc

Enables databake

serde

Enables serde, serde of tinystr

zerovec

Enables zerovec, zerovec of tinystr