icu_provider_blob 1.0.0-beta1

ICU4X data provider that reads from blobs in memory
Documentation

icu_provider_blob crates.io

icu_provider_blob contains implementations of the ICU4X BufferProvider interface that load data from a single blob.

There are two exports:

  1. [BlobDataProvider] supports data blobs loaded dynamically at runtime.
  2. [StaticDataProvider] supports data blobs baked into the binary at compile time.

To build blob data, use the --format blob option of icu_datagen. For example, to build "hello world" data, run:

$ cargo run --features bin -p icu_datagen -- \
    --format blob \
    --hello-world-key \
    --all-locales \
    --out hello_world.postcard

For examples, see the specific data providers.

More Information

For more information on development, authorship, contributing etc. please visit ICU4X home page.