icu_provider_cldr 0.2.0

Data provider that reads from a CLDR JSON data source
Documentation

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.