Cargo Features

[dependencies]
icu_datagen = { version = "1.4.1", default-features = false, features = ["baked_exporter", "blob_exporter", "fs_exporter", "legacy_api", "bin", "rayon", "use_wasm", "use_icu4c", "networking", "icu_compactdecimal", "icu_displaynames", "icu_relativetime", "icu_transliterate", "experimental_components"] }
default = baked_exporter, bin, blob_exporter, fs_exporter, legacy_api, networking, rayon, use_wasm

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

baked_exporter default legacy_api

Enables crlify, databake, and proc-macro2

Affects icu_datagen::baked_exporter

blob_exporter default legacy_api

Enables icu_provider_blob

Exporters

fs_exporter default legacy_api

Enables icu_provider_fs

legacy_api default = baked_exporter, blob_exporter, fs_exporter

Affects icu_datagen::keys_from_file, icu_datagen::Out, icu_datagen::datagen, icu_datagen::is_missing_cldr_error, icu_datagen::is_missing_icuexport_error, icu_datagen::syntax, icu_datagen::CldrLocaleSubset, registry::all_keys_with_experimental

bin default

Enables clap, eyre, and simple_logger ^4.1.0

clap:

Dependencies for "bin" feature

Required by the icu4x-datagen binary

rayon default

Enables rayon

use_wasm default

Use wasm for building codepointtries

Enables wasm of icu_codepointtrie_builder

ICU infrastructure

use_icu4c

Use local ICU4C libraries for building codepointtries (will do nothing if used with use_wasm) If neither use_wasm nor use_icu4c are enabled, rule based segmenter data will not be generated.

Enables icu4c of icu_codepointtrie_builder

networking default

Enables ureq

icu_compactdecimal experimental_components?

experimental deps

Enables icu_compactdecimal

icu_displaynames experimental_components?

Enables icu_displaynames

Affects cldr_serde::displaynames, cldr::displaynames

icu_relativetime experimental_components?

Enables icu_relativetime

Affects cldr_serde::date_fields, cldr::relativetime

icu_transliterate experimental_components?

Enables icu_transliterate

Affects cldr_serde::transforms, cldr::transforms

experimental_components = icu_compactdecimal, icu_displaynames, icu_relativetime, icu_transliterate