-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0f3dfc8
commit b5fc9d8
Showing
20 changed files
with
179 additions
and
122 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# This file is part of ICU4X. For terms of use, please see the file | ||
# called LICENSE at the top level of the ICU4X source tree | ||
# (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ). | ||
|
||
[package] | ||
name = "icu4x-datagen" | ||
description = "Generate data for ICU4X DataProvider" | ||
license = "Unicode-3.0" | ||
|
||
authors.workspace = true | ||
categories.workspace = true | ||
edition.workspace = true | ||
homepage.workspace = true | ||
include.workspace = true | ||
repository.workspace = true | ||
rust-version.workspace = true | ||
version.workspace = true | ||
|
||
[dependencies] | ||
icu_provider = { workspace = true, features = ["datagen"] } | ||
icu = { workspace = true } | ||
icu_datagen = { workspace = true, features = ["rayon"] } | ||
icu_provider_blob = { workspace = true, optional = true } | ||
icu_registry = { workspace = true, optional = true } | ||
|
||
clap = { workspace = true, features = ["derive"] } | ||
eyre = { workspace = true } | ||
log = { workspace = true } | ||
simple_logger = { workspace = true } | ||
|
||
[features] | ||
default = ["use_wasm", "networking", "fs_exporter", "blob_exporter", "baked_exporter", "provider"] | ||
provider = ["icu_datagen/provider"] | ||
baked_exporter = ["icu_datagen/baked_exporter"] | ||
blob_exporter = ["icu_datagen/blob_exporter"] | ||
blob_input = ["dep:icu_provider_blob", "dep:icu_registry"] | ||
fs_exporter = ["icu_datagen/fs_exporter"] | ||
# Use wasm for building codepointtries | ||
use_wasm = ["icu_datagen/use_wasm"] | ||
# Use local ICU4C libraries for building codepointtries | ||
# (will do nothing if used with `use_wasm`) | ||
# If neither `use_wasm` nor `use_icu4c` are enabled, | ||
# rule based segmenter data will not be generated. | ||
use_icu4c = ["icu_datagen/use_icu4c"] | ||
networking = ["icu_datagen/networking"] | ||
experimental_components = ["icu_datagen/experimental_components", "icu/experimental"] |
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,46 @@ | ||
UNICODE LICENSE V3 | ||
|
||
COPYRIGHT AND PERMISSION NOTICE | ||
|
||
Copyright © 2020-2024 Unicode, Inc. | ||
|
||
NOTICE TO USER: Carefully read the following legal agreement. BY | ||
DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR | ||
SOFTWARE, YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE | ||
TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT | ||
DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE. | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a | ||
copy of data files and any associated documentation (the "Data Files") or | ||
software and any associated documentation (the "Software") to deal in the | ||
Data Files or Software without restriction, including without limitation | ||
the rights to use, copy, modify, merge, publish, distribute, and/or sell | ||
copies of the Data Files or Software, and to permit persons to whom the | ||
Data Files or Software are furnished to do so, provided that either (a) | ||
this copyright and permission notice appear with all copies of the Data | ||
Files or Software, or (b) this copyright and permission notice appear in | ||
associated Documentation. | ||
|
||
THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY | ||
KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF | ||
THIRD PARTY RIGHTS. | ||
|
||
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE | ||
BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, | ||
OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, | ||
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, | ||
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA | ||
FILES OR SOFTWARE. | ||
|
||
Except as contained in this notice, the name of a copyright holder shall | ||
not be used in advertising or otherwise to promote the sale, use or other | ||
dealings in these Data Files or Software without prior written | ||
authorization of the copyright holder. | ||
|
||
SPDX-License-Identifier: Unicode-3.0 | ||
|
||
— | ||
|
||
Portions of ICU4X may have been adapted from ICU4C and/or ICU4J. | ||
ICU 1.8.1 to ICU 57.1 © 1995-2016 International Business Machines Corporation and others. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.