#icu #json #cldr #provider

icu_provider_cldr

Data provider that reads from a CLDR JSON data source

2 unstable releases

0.2.0 Apr 29, 2021
0.1.0 Oct 15, 2020

22 downloads per month
Used in 2 crates

Custom license

685KB
12K SLoC

icu_provider_cldr crates.io

icu_provider_cldr is one of the ICU4X components.

It contains implementations of the DataProvider interface based on the JSON files shipped by CLDR. You create a [CldrPaths] and then pass it into CldrJsonDataProvider.

This crate contains two implementations of [CldrPaths]:

  • [CldrPathsLocal] points to local copies of the CLDR JSON repositories.
  • CldrPathsDownload downloads and caches the CLDR JSON repositories. Requires the "download" feature.

Important: This data provider implementation is not optimized for production use. It is much more efficient if you use FsDataProvider instead.

More Information

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

Dependencies

~2.5–7MB
~145K SLoC