fix(deps): update rust crate winnow to 0.7.0 - autoclosed #139
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:
0.5.34->0.7.0Release Notes
winnow-rs/winnow (winnow)
v0.7.10Compare Source
Compatibility
Stream::rawFeatures
Stream::tracefor better customization oftraceparsersFixes
initialfromTokenSlice/LocatingSlices Debug implStream::traceprints non-pretty output for&[T]andTokenSlice<T>v0.7.9Compare Source
Features
ContextError::extendParser::context_withv0.7.8Compare Source
Features
ContextError::pushParser::map_errv0.7.7Compare Source
Fixes
LocatedSliceandStatefulsStream::rawgets the inner inputv0.7.6Compare Source
Features
TokenSlice::previous_tokensv0.7.5Compare Source
Features
Stream::next_slice_uncheckedandStream::peek_slice_uncheckedv0.7.4Compare Source
Documentation
emptydispatch!v0.7.3Compare Source
Features
ParseError::char_spanv0.7.2Compare Source
Fixes
RangeCopyablev0.7.1Compare Source
Compatibility
Stream::rawFeatures
Stream::tracefor better customization oftraceparsersFixes
initialfromTokenSlice/LocatingSlices Debug implStream::traceprints non-pretty output for&[T]andTokenSlice<T>v0.7.0Compare Source
Migration Guide
impl Parser<_, _, _>withimpl ModalParser<_, _, _>from_error_kindtofrom_inputand remove otherkindparametersseq!(<tuple>), you may need to addmutto shared parsersStream::peek*calls, update for lack ofStreambeing returnedModalParsercouldn't be used, changeParser<I, O, E>toParser<I, O, ErrMode<E>>If you do not use
cut_errorPartial, you can further clean up the code and improve performance by removing the use ofErrModeModalResult<O, E>withwinnow::Result<O>(if using default error type) or justResult<O, E>impl ModalParserwithimpl ParserErrModeCompatibility
escapedandtake_escapednow assert, rather than stop, on emptynormaloutputseq(<tuple>)must now bemutStream::peek_token,Stream::peek_slice,Stream::peek_finishno longer return a clone ofStreamtrait Locations functions have changed to improve parsing of lexed tokensParserError::appendandFromExternalError::from_external_errorskindparameter has been removedParserError,AsChar,ContainsToken,Streamwere added to the preludeescaped_transformin favor of the new nameescapedFeatures
ErrModefrom the core traits through newModalErrortrait andParserErrormodal functions, allowing better performance and greater flexibilityParserError,AsChar,ContainsToken,Streamto the preludestream::TokenSliceto help parsing of lexed tokensErrorConvertforErrModeFixes
seq!(<tuple>)so they can be used multiple timesescapedandtake_escapednow assert, rather than stop, on emptynormaloutputParser::by_ref,Parser::complete_errfloatParserError::appendto reduce boilerplate with custom errorsTreeErrorwithbinary::bitsparsersescapedcan now have separate types fornormalandescapedparsersDocumentation
v0.6.26Compare Source
Compatibility
ParserError::from_error_kindin favor ofParserError::from_inputInputError::newin favor ofInputError::atErrorKindEmptyErrorParserError::append, just add an#[allow(deprecated)]Features
EmptyErrorwhich is like()but compatible withParser::parseParserError::from_inputto help with the transition to 0.7InputError::atto help with the transition to 0.7v0.6.25Compare Source
Compatibility
PResultin favor ofModalResult: v0.7 will makeErrModeoptional andPResultwill no longer be descriptive enoughIResultin favor ofPResult<(I, O)>Documentation
Fixes
repeat(_).fold(1..)v0.6.24Compare Source
Fixes
winnow::Locatedwhich was removed by accidentv0.6.23Compare Source
Compatibility
stream::Locatedis deprecated in favor ofstream::LocatingSlicecombnator::restis deprecated in favor oftoken::restcombnator::rest_lenis deprecated in favor oftoken::rest_lencombinator::<Struct>have mostly been deprecated in favor ofcombinator::impls::<Struct>unpeekis deprecatedFeatures
repeat().try_fold()andrepeat().verify_fold()v0.6.22Compare Source
Fixes
is_partialintake_tillv0.6.21Compare Source
Performance
Documentation
peekandParser::parse_peeknomv0.6.20Compare Source
Internal
v0.6.19Compare Source
Features
Located::reset_to_startfor parsing encoded graphs with start-relative pointersv0.6.18Compare Source
v0.6.17Compare Source
Features
Checkpoints comparablev0.6.16Compare Source
v0.6.15Compare Source
Compatibility
Parser::recognizein favor ofParser::takeParser::with_recognizedin favor ofParser::takenFixes
Parser::recognizetoParser::taketo be consistent with othertakeparsersParser::with_recognizedtoParser::with_takento be consistent with othertakeparsersv0.6.14Compare Source
Fixes
I: Clonebound onParser::parsev0.6.13Compare Source
Documentation
v0.6.12Compare Source
Fixes
seq!struct syntaxv0.6.11Compare Source
Fixes
AsBytesbounds, unblocking parsing frames of binary inputv0.6.10Compare Source
Features
seq!to constructing enum variantsv0.6.9Compare Source
Compatibility
Features
Debugimpls forstream::Statefulandstream::Recoverablev0.6.8Compare Source
Features
&mut [impl Parser]withinaltv0.6.7Compare Source
Fixes
v0.6.6Compare Source
Fixes
ErrorConvertforContextErrorso it can be used with bit parsingv0.6.5Compare Source
Compatibility
escapedin favor oftake_escaped(rename)Documentation
inputv0.6.4Compare Source
Documentation
v0.6.3Compare Source
Fixes
take_until("")consistent betweensimdor not, with or without empty bufferDocumentation
*untiland*tillparsersv0.6.2Compare Source
Compatibility
ParserError::from_error_kindin favor ofParserError::from_inputInputError::newin favor ofInputError::atErrorKindEmptyErrorParserError::append, just add an#[allow(deprecated)]Features
EmptyErrorwhich is like()but compatible withParser::parseParserError::from_inputto help with the transition to 0.7InputError::atto help with the transition to 0.7v0.6.1Compare Source
Features
Located::reset_to_startfor parsing encoded graphs with start-relative pointersv0.6.0Compare 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.