-
Notifications
You must be signed in to change notification settings - Fork 0
Update Rust crate nom to v8 #151
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
Merged
Merged
Conversation
This file contains hidden or 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
c4f201a to
00f29f9
Compare
768b4e8 to
0454248
Compare
0104a0b to
3678fda
Compare
0b4025c to
622173c
Compare
4dcc945 to
2357721
Compare
2357721 to
8b7face
Compare
7f2890d to
52cb834
Compare
47dce63 to
de313d9
Compare
de313d9 to
57439ae
Compare
4174c96 to
ab2effd
Compare
944cfae to
162a708
Compare
162a708 to
506aab0
Compare
506aab0 to
b097aed
Compare
1f8e6f3 to
85eb06e
Compare
f7aaeee to
e12adff
Compare
e12adff to
498d149
Compare
Contributor
Author
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
This comment was marked as outdated.
This comment was marked as outdated.
498d149 to
55fdf80
Compare
This comment was marked as outdated.
This comment was marked as outdated.
5871fe5 to
215688b
Compare
55fdf80 to
e3a5bfa
Compare
simu
approved these changes
Nov 27, 2025
Benchmark for 137ef13Click to view benchmark
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
7.1.3->8.0.0Release Notes
rust-bakery/nom (nom)
v8.0.0Compare Source
This version represents a significant refactoring of nom to reduce the amount of code generated by parsers, and reduce the API surface. As such, it comes with some breaking changes, mostly around the move from closure based combinators to trait based ones. In practice, it means that instead of writing
combinator(arg)(input), we now writecombinator(arg).parse(input).This release also marks the introduction of the nom-language crate, which will hold tools more focused on language parsing than the rest of nom, like the
VerboseErrortype and the newly added precedence parsing combinators.Thanks
Added
Parser::map_resParser::map_optmanyandfoldcombinators using rangesmanycan collect into other types thanVecErrorandVerboseErrorcan be converted to owned versionsRemoved
nom::bits::*is no longer re-exported at the crate root. This export caused frequent confusion, since e.g.nom::complete::tagreferred tonom::bits::complete::taginstead of the much more commonly usednom::bytes::complete::tag. To migrate, change any imports ofnom::{complete::*, streaming::*, bits, bytes}tonom::bits::[...].parsecombinatorInputIter,InputTakeAtPosition,InputLength,InputTakeandSliceare now merged in theInputtraitChanged
Parser::mapandParser::flat_mapnow take aFnMutas argumentConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.