#cldr #icu #unicode #localization #blob #provider #i18n

icu_provider_blob

ICU4X data provider that reads from blobs in memory

5 releases (3 breaking)

1.0.0-beta1 Aug 5, 2022
0.6.0 May 10, 2022
0.5.0 Jan 31, 2022
0.4.0 Nov 2, 2021
0.3.0 Jul 30, 2021

#130 in Internationalization (i18n)

Download history 81/week @ 2022-04-21 96/week @ 2022-04-28 69/week @ 2022-05-05 91/week @ 2022-05-12 151/week @ 2022-05-19 328/week @ 2022-05-26 553/week @ 2022-06-02 451/week @ 2022-06-09 602/week @ 2022-06-16 1265/week @ 2022-06-23 1389/week @ 2022-06-30 1623/week @ 2022-07-07 1722/week @ 2022-07-14 1252/week @ 2022-07-21 1511/week @ 2022-07-28 1484/week @ 2022-08-04

6,239 downloads per month
Used in 5 crates (3 directly)

Unicode-DFS-2016

2MB
16K SLoC

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.

Dependencies