Cargo Features

[dependencies]
icu_time = { version = "2.0.0-beta2", default-features = false, features = ["alloc", "ixdtf", "serde", "datagen", "compiled_data"] }
default = compiled_data, ixdtf

These default features are set whenever icu_time is added without default-features = false somewhere in the dependency tree.

alloc

Enables alloc of optional serde, tinystr, and zerotrie

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.

ixdtf default

Enables ixdtf, ixdtf of icu_calendar

serde datagen?

Enables serde, serde of tinystr, zerotrie, and zerovec and serde of icu_provider

icu_provider:

Enable BufferProvider and other deserialization infrastructure

datagen = serde

Enables databake, databake of tinystr, zerotrie, and zerovec

Affects provider::MARKERS

compiled_data default

Enables icu_time_data, compiled_data of icu_calendar

Affects provider::Baked