-
Notifications
You must be signed in to change notification settings - Fork 8
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
Pre-generate tables.rs
instead of doing it in build.rs
?
#7
Comments
Sure!, as long as it does not entail checking in the generated |
Yes, that's doable. |
Can you say why you don't want to check the generated tables into source code? I do it for all my crates, like |
Generating
tables.rs
requiresunicode-linebreak
to pull inregex
andhashbrown
as build-dependencies, plus running the generation at compile-time, which makes compilation a lot slower.Since
LineBreak.txt
doesn't change that often, generating it manually won't make it much harder to maintain,I can submit a PR to convert the
build.rs
to a separate crate that is never published and can be run locally to consume theLineBreak.txt
and generatesrc/tables.rs
, does it sound good to you?If you insist on keeping the
build.rs
, it might be a good idea to switch to regex-lite rust-lang/regex#961The text was updated successfully, but these errors were encountered: