-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move DatagenProvider
into its own crate
#5016
Conversation
e45c746
to
a8686e5
Compare
29ee634
to
c5d470b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not opposed, defer to shane
Please redo the PR so that generated code is in separate commits: GitHub is struggling to render the review screen.
f83ba23
to
ba551b6
Compare
this is split now |
# (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ). | ||
|
||
[package] | ||
name = "icu_datagen_bikeshed" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We were trying to decide between icu_provider_source
and icu_provider_transform
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
icu_provider_datagen
was also in the mix I think
Reduces the number of files lying around, and in #5016 it'll be more difficult to generate hello world blobs with fallback.
#4721
provider/datagen/src/{provider.rs, provider/, transform/}
move toprovider/bikeshed/src
.Stubdata moves to
provider/data/{component}/stubdata
, as it's a quality-of-life thing and not required for testing or reviewing theDatagenProvider
(also,../stubdata
is a much nicer value forICU4X_DATA_DIR
than../../../bikeshed/tests/data/baked
). JSON testdata moves toprovider/bikeshed/data/debug
, as it's used only for debugging/reviewing, and shouldn't be intests/data
, which is data that actually affects tests.