-
-
Notifications
You must be signed in to change notification settings - Fork 413
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split ICU4X data generation from
boa_icu_provider
(#3682)
* 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`
- Loading branch information
Showing
15 changed files
with
140 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,4 @@ | ||
# boa_icu_provider | ||
|
||
`boa_icu_provider` generates and defines the [ICU4X](https://github.com/unicode-org/icu4x) data provider | ||
`boa_icu_provider` defines the [ICU4X](https://github.com/unicode-org/icu4x) data provider | ||
used in the Boa engine to enable internationalization functionality. | ||
|
||
## Datagen | ||
|
||
To regenerate the data: | ||
|
||
```bash | ||
$ cargo run --release --bin boa_datagen --features bin | ||
``` |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters