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 ~1.4.0, icu_plurals ~1.4.0, and icu_provider ~1.4.0

serde datagen?

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

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 ~1.4.0, icu_relativetime_data, compiled_data of icu_decimal ~1.4.0, compiled_data of icu_plurals ~1.4.0

Affects provider::Baked