mirror of https://github.com/boa-dev/boa.git
Browse Source
* Split ICU4X data generation from `boa_icu_provider` * npx prettier * Revert to previous blob version * Rename new feature to `intl_bundled` * Replace missing `intl_core` configs * Add missingg `intl_bundled` cfg * Enable `intl_bundled` for `boa_wasm`pull/3700/head
José Julián Espina
9 months ago
committed by
GitHub
15 changed files with 140 additions and 75 deletions
Binary file not shown.
@ -0,0 +1,32 @@ |
|||||||
|
[package] |
||||||
|
name = "gen-icu4x-data" |
||||||
|
publish = false |
||||||
|
edition.workspace = true |
||||||
|
version.workspace = true |
||||||
|
rust-version.workspace = true |
||||||
|
authors.workspace = true |
||||||
|
repository.workspace = true |
||||||
|
license.workspace = true |
||||||
|
description.workspace = true |
||||||
|
|
||||||
|
[dependencies] |
||||||
|
icu_provider = { workspace = true, features = ["datagen"] } |
||||||
|
icu_provider_blob = { workspace = true, features = ["export"] } |
||||||
|
icu_datagen = { workspace = true, features = ["networking", "use_wasm"] } |
||||||
|
log.workspace = true |
||||||
|
simple_logger.workspace = true |
||||||
|
|
||||||
|
# Components |
||||||
|
|
||||||
|
icu_casemap = { workspace = true, features = ["datagen"] } |
||||||
|
icu_collator = { workspace = true, features = ["datagen"] } |
||||||
|
icu_datetime = { workspace = true, features = ["datagen"] } |
||||||
|
icu_decimal = { workspace = true, features = ["datagen"] } |
||||||
|
icu_list = { workspace = true, features = ["datagen"] } |
||||||
|
icu_locid_transform = { workspace = true, features = ["datagen"] } |
||||||
|
icu_normalizer = { workspace = true, features = ["datagen"] } |
||||||
|
icu_plurals = { workspace = true, features = ["datagen", "experimental"] } |
||||||
|
icu_segmenter = { workspace = true, features = ["datagen"] } |
||||||
|
|
||||||
|
[lints] |
||||||
|
workspace = true |
@ -0,0 +1,12 @@ |
|||||||
|
# boa_icu_provider |
||||||
|
|
||||||
|
`gen-icu4x-data` generates the [ICU4X](https://github.com/unicode-org/icu4x) data provider |
||||||
|
for `boa_icu_provider`. |
||||||
|
|
||||||
|
## Datagen |
||||||
|
|
||||||
|
To regenerate the data: |
||||||
|
|
||||||
|
```bash |
||||||
|
$ cargo run --release --bin gen-icu4x-data |
||||||
|
``` |
Loading…
Reference in new issue