Open
Conversation
7ee7a8c to
9ff0cb1
Compare
9ff0cb1 to
9814b74
Compare
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
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:
5.1.2→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 argumentv7.1.3Compare Source
v7.1.2Compare Source
Thanks
Changed
many_m_nto 64kiBParserimplementors instead of only functionsAdded
Tupleparsing for the unit type as a special caseErrorConverton the unit type to make it usable as error type for bits parsersv7.1.1Compare Source
Thanks
Changed
v7.1.0Compare Source
Thanks
Changed
Added
v7.0.0Compare Source
This release fixes dependency compilation issues and strengthen the minimum supported Rust version (MSRV) policy. This is also the first release without the macros that were used since nom's beginning.
Thanks
Added
take_until1combinatorto_ownedimplementationsfail: a parser that always fail, useful as default condition in other combinatorscharacter::streamingandcharacter::completemodules, there are parsers namedi8, u16, u32, u64, u128andu8 ,u16, u32, u64, u128that recognize decimal digits and directly convert to a number in the target size (checking for max int size)Removed
BitSliceinput type from bitvec has been moved into the nom-bitvec crate. nom does not depend on bitvec nowErrorKind::PArseTowas not needed anymoreChanged
split_at_position*functions should now be guaranteed panic freelexical-corecrate used for float parsing has now been replaced withminimal-lexical: the new crate is faster to compile, faster to parse, and has no dependenciesFixed
escapedcombinatormany_m_nnow fails if min > maxv6.2.2Compare Source
v6.2.1Compare Source
Thanks
This release was done thanks to the hard work of (by order of appearance in the commit list):
Fixed
v6.2.0Compare Source
Thanks
This release was done thanks to the hard work of (by order of appearance in the commit list):
Added
Changed
v6.1.2Compare Source
Changed
v6.1.1Compare Source
Thanks
This release was done thanks to the hard work of (by order of appearance in the commit list):
Changed
v6.1.0Compare Source
Thanks
This release was done thanks to the hard work of (by order of appearance in the commit list):
Changed
std::error::ErroronVerboseErrorv6.0.1Compare Source
Thanks
This release was done thanks to the hard work of (by order of appearance in the commit list):
Added
ErrorConvertimplementation forVerboseErrorChanged
fold_many*now acceptFnMutfor the accumulation functionlength_countv6.0.0Compare Source
Thanks
This release was done thanks to the hard work of (by order of appearance in the commit list):
v5.1.3Compare Source
Configuration
📅 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.