Cargo Features

[dependencies]
icu_provider_source = { version = "2.0.0-beta1", default-features = false, features = ["use_wasm", "use_icu4c", "networking", "experimental", "icu_experimental"] }
default = networking, use_wasm

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

use_wasm default

Use wasm for building codepointtries

Enables wasm of icu_codepointtrie_builder

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

networking feature

experimental

Enables num-bigint, num-rational, and num-traits and experimental of icu

ICU components

Features from optional dependencies

icu_experimental implicit feature

Enables icu_experimental

experimental feature