-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move the baked exporter into its own crate (#5009)
#4721 The `icu_provider_datagen` crate can be a runtime dependency for baked data, in order to expose dependencies that are required for databake operation (I'm thinking zerotrie and writeable). The former `icu_datagen::baked_exporter` module is this new crate's `exporter` module, behind an `export` feature, analogous to `icu_provider_blob` and `icu_provider_fs`. This is also a better home for the `test-baked-source` test, because in `icu_datagen`, if the baked source wouldn't build, `make-testdata` also wouldn't, which is annoying (@younies).
- Loading branch information
1 parent
ed328ad
commit ae32da1
Showing
428 changed files
with
1,860 additions
and
1,312 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# 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 = "icu_provider_baked" | ||
|
||
version.workspace = true | ||
rust-version.workspace = true | ||
authors.workspace = true | ||
edition.workspace = true | ||
repository.workspace = true | ||
homepage.workspace = true | ||
license.workspace = true | ||
categories.workspace = true | ||
include.workspace = true | ||
|
||
[dependencies] | ||
icu_provider = { workspace = true } | ||
|
||
crlify = { workspace = true, optional = true } | ||
databake = { workspace = true, optional = true} | ||
icu_registry = { workspace = true, optional = true } | ||
itertools = { workspace = true, optional = true } | ||
log = { workspace = true, optional = true } | ||
proc-macro2 = { workspace = true, optional = true } | ||
|
||
[dev-dependencies] | ||
icu_provider = { path = "../core", features = ["datagen"] } | ||
icu_datagen = { path = "../datagen" } | ||
|
||
[features] | ||
export = ["dep:icu_registry", "dep:databake", "dep:proc-macro2", "dep:itertools", "dep:crlify", "dep:log", "icu_provider/datagen"] |
File renamed without changes.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
42 changes: 0 additions & 42 deletions
42
provider/baked/calendar/data/macros/calendar_chinesecache_v1.rs.data
This file was deleted.
Oops, something went wrong.
42 changes: 0 additions & 42 deletions
42
provider/baked/calendar/data/macros/calendar_dangicache_v1.rs.data
This file was deleted.
Oops, something went wrong.
42 changes: 0 additions & 42 deletions
42
provider/baked/calendar/data/macros/calendar_islamicobservationalcache_v1.rs.data
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.