chore(deps): update rust crate nom to v8.0.0 #16
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:
8.0.0-alpha2
->8.0.0
Release Notes
rust-bakery/nom (nom)
v8.0.0
This versions represents a significant refactoring of nom to reduce the amount of code generated by prsers, 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 th introduction of the nom-language crate, which will hold tools more focused on language parsing than the rest of nom, like the
VerboseError
type and the newly added precedence parsing combinators.Thanks
Added
Parser::map_res
Parser::map_opt
many
andfold
combinators using rangesmany
can collect into other types thanVec
Error
andVerboseError
can 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::tag
referred tonom::bits::complete::tag
instead of the much more commonly usednom::bytes::complete::tag
. To migrate, change any imports ofnom::{complete::*, streaming::*, bits, bytes}
tonom::bits::[...]
.parse
combinatorInputIter
,InputTakeAtPosition
,InputLength
,InputTake
andSlice
are now merged in theInput
traitChanged
Parser::map
andParser::flat_map
now take aFnMut
as 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 becomes conflicted, 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.