#data-provider #unicode #cldr #javascript

no-std boa_icu_provider

ICU4X data provider for the Boa JavaScript engine

8 unstable releases (3 breaking)

new 0.20.0 Dec 5, 2024
0.19.1 Sep 12, 2024
0.19.0 Jul 11, 2024
0.18.0 Mar 7, 2024
0.17.0 Jul 8, 2023

#66 in Internationalization (i18n)

Download history 345/week @ 2024-08-22 375/week @ 2024-08-29 404/week @ 2024-09-05 584/week @ 2024-09-12 327/week @ 2024-09-19 362/week @ 2024-09-26 305/week @ 2024-10-03 313/week @ 2024-10-10 284/week @ 2024-10-17 275/week @ 2024-10-24 278/week @ 2024-10-31 267/week @ 2024-11-07 214/week @ 2024-11-14 272/week @ 2024-11-21 265/week @ 2024-11-28 518/week @ 2024-12-05

1,296 downloads per month
Used in 8 crates (via boa_engine)

Unlicense OR MIT

4.5MB
80 lines

boa_icu_provider

boa_icu_provider defines the ICU4X data provider used in the Boa engine to enable internationalization functionality.


lib.rs:

Boa's boa_icu_provider exports the default data provider used by its Intl implementation.

Crate Overview

This crate exports the function buffer, which contains an extensive dataset of locale data to enable Intl functionality in the engine. The set of locales included is precisely the "modern" subset of locales in the Unicode Common Locale Data Repository.

If you need to support the full set of locales, you can check out the ICU4X guide about generating custom data providers. Boa supports plugging both BufferProviders or AnyProviders generated by the tool.

Dependencies

~12MB
~180K SLoC