Crates.io | icu_provider_cldr |
lib.rs | icu_provider_cldr |
version | 0.5.0 |
source | src |
created_at | 2020-10-15 15:34:48.245916 |
updated_at | 2022-02-01 00:16:02.310778 |
description | Data provider that reads from a CLDR JSON data source |
homepage | |
repository | https://github.com/unicode-org/icu4x |
max_upload_size | |
id | 300040 |
size | 257,432 |
icu_provider_cldr
contains implementations of the ICU4X
DataProvider
interface
based on the JSON files shipped by CLDR. 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.
For more information on development, authorship, contributing etc. please visit ICU4X home page
.