Cargo Features

[dependencies]
icu_experimental = { version = "0.2.0", default-features = false, features = ["std", "compiled_data", "datagen", "ryu", "serde", "bench"] }
default = compiled_data

The compiled_data feature is set by default whenever icu_experimental is added without default-features = false somewhere in the dependency tree.

std datagen?

Enables std of fixed_decimal, icu_decimal, icu_locale_core, icu_pattern, icu_plurals, and icu_provider

compiled_data default

Enables icu_experimental_data, compiled_data of icu_decimal, compiled_data of icu_list, icu_normalizer, icu_plurals, and icu_properties

Affects icu_experimental::provider.Baked, parse::parse, parse::parse_with_variables

datagen = log, serde, std

Enables databake, datagen of icu_plurals, databake of icu_collections and icu_pattern, databake of tinystr, zerotrie, and zerovec

Affects icu_experimental::provider.MARKERS

ryu

Enables ryu of fixed_decimal

serde datagen?

Enables serde, serde of tinystr, zerotrie, and zerovec and serde of icu_collections, icu_decimal, icu_list, icu_normalizer, icu_pattern, icu_plurals, icu_provider, and potential_utf

icu_provider:

Enable BufferProvider and other deserialization infrastructure

bench

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

log datagen?