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

Update Rust crate nom to v7 #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update Rust crate nom to v7 #11

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Oct 20, 2021

This PR contains the following updates:

Package Type Update Change
nom dependencies major 6 -> 7

Release Notes

rust-bakery/nom (nom)

v7.1.3

Compare Source

v7.1.2

Compare Source

Thanks
Changed
  • documentation fixes
  • tests fixes
  • limit the initial capacity of the result vector of many_m_n to 64kiB
  • bits parser now accept Parser implementors instead of only functions
Added
  • implement Tuple parsing for the unit type as a special case
  • implement ErrorConvert on the unit type to make it usable as error type for bits parsers
  • bool parser for bits input

v7.1.1

Compare Source

Thanks
Changed
  • documentation fixes
  • more examples

v7.1.0

Compare Source

Thanks
Changed
  • documentation fixes
  • Ci fixes
  • the move to minimal-lexical for float parsing introduced bugs that cannot be resolved right now, so this version moves back to using the standard lib' parser. This is a performance regression*. If you have specific requirements around float parsing, you are strongly encouraged to use recognize_float and another library to convert to a f32 or f64
Added
  • alt now works with 1 elment tuples

v7.0.0

Compare 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_until1 combinator
  • more to_owned implementations
  • fail: a parser that always fail, useful as default condition in other combinators
  • text to number parsers: in the character::streaming and character::complete modules, there are parsers named i8, u16, u32, u64, u128 and u8 ,u16, u32, u64, u128 that recognize decimal digits and directly convert to a number in the target size (checking for max int size)
Removed
  • now that function combinators are the main way to write parsers, the old macro combinators are confusing newcomers. THey have been removed
  • the BitSlice input type from bitvec has been moved into the nom-bitvec crate. nom does not depend on bitvec now
  • regex parsers have been moved into the nom-regex crate. nom does not depend on regex now
  • ErrorKind::PArseTo was not needed anymore
Changed
  • relax trait bounds
  • some performance fixes
  • split_at_position* functions should now be guaranteed panic free
  • the lexical-core crate used for float parsing has now been replaced with minimal-lexical: the new crate is faster to compile, faster to parse, and has no dependencies
Fixed
  • infinite loop in escaped combinator
  • many_m_n now fails if min > max

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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

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.

0 participants