Skip to content
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

Remove transitive dependencies #212

Merged
merged 3 commits into from
Sep 29, 2023
Merged

Remove transitive dependencies #212

merged 3 commits into from
Sep 29, 2023

Conversation

dburgener
Copy link
Owner

These existed to work around lalrpop bugs in dependency tracking. As of lalrpop 0.19.12, those bugs are resolved, so we don't need to explicitly include transitive lalrpop dependencies anymore. Lalrpop 0.20 will include further enhancements here, and we will need to either opt into the lalrpop "unicode" feature, or remove our dependence on the underlying unicode support, which is created somewhat accidentally from the use of the "\s" token in regexes.

I'm undecided on taking this for 0.1 at this point given how close we are and how new a release lalrpop 0.19.12 is, however I don't have a strong reason not to.

@dburgener dburgener marked this pull request as ready for review September 29, 2023 14:58
This was recommended by the lalrpop documentation, but is actually a
transitive dependency, not a real one.  With lalrpop 0.19.12 this is now
handled correctly on the lalrpop end.  Lalrpop 0.20 will add support for
a "unicode" feature to handle the whole regex dependency situation even
more cleanly, so we will need to do a little tweaking to our
dependencies at that point.  But this is expected to be good for semver
compatible ^0.19.12
Prior versions expose transitive regex unicode feature dependencies to
us
@dburgener dburgener merged commit ac859fb into main Sep 29, 2023
11 checks passed
@dburgener dburgener deleted the dburgener/regex-deps branch September 29, 2023 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants