Cargo Features

[dependencies]
icu_relativetime = { version = "0.1.4", default-features = false, features = ["std", "serde", "datagen", "compiled_data"] }
default = compiled_data

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

std datagen?

Enables std of fixed_decimal, icu_decimal, icu_plurals, and icu_provider

serde datagen?

Enables serde, serde of zerovec and serde of icu_decimal, icu_plurals, and icu_provider

icu_provider:

Enable BufferProvider and other deserialization infrastructure

datagen = serde, std

Enables databake, databake of zerovec

Affects provider::KEYS

compiled_data default

Enables icu_locid_transform, icu_relativetime_data, compiled_data of icu_decimal, compiled_data of icu_plurals

Affects provider::Baked