Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 26, 2025

This PR contains the following updates:

Package Type Update Change
nom dependencies major 7.1.3 -> 8.0.0

Release Notes

rust-bakery/nom (nom)

v8.0.0

Compare 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 write combinator(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 VerboseError type and the newly added precedence parsing combinators.

Thanks
Added
  • Parser::map_res
  • Parser::map_opt
  • many and fold combinators using ranges
  • many can collect into other types than Vec
  • Error and VerboseError can be converted to owned versions
Removed
  • nom::bits::* is no longer re-exported at the crate root. This export caused frequent confusion, since e.g. nom::complete::tag referred to nom::bits::complete::tag instead of the much more commonly used nom::bytes::complete::tag. To migrate, change any imports of nom::{complete::*, streaming::*, bits, bytes} to nom::bits::[...].
  • parse combinator
  • InputIter, InputTakeAtPosition, InputLength, InputTake and Slice are now merged in the Input trait
Changed
  • Parser::map and Parser::flat_map now take a FnMut as argument

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 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.


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

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

@renovate renovate bot added the dependency label Jan 26, 2025
@renovate renovate bot force-pushed the renovate/nom-8.x branch 2 times, most recently from c4f201a to 00f29f9 Compare March 10, 2025 08:43
@renovate renovate bot force-pushed the renovate/nom-8.x branch 7 times, most recently from 768b4e8 to 0454248 Compare April 4, 2025 10:58
@renovate renovate bot force-pushed the renovate/nom-8.x branch 2 times, most recently from 0104a0b to 3678fda Compare April 15, 2025 09:51
@renovate renovate bot force-pushed the renovate/nom-8.x branch 4 times, most recently from 0b4025c to 622173c Compare April 24, 2025 09:12
@renovate renovate bot force-pushed the renovate/nom-8.x branch 2 times, most recently from 4dcc945 to 2357721 Compare May 19, 2025 07:16
@renovate renovate bot force-pushed the renovate/nom-8.x branch from 2357721 to 8b7face Compare June 13, 2025 07:11
@renovate renovate bot force-pushed the renovate/nom-8.x branch 3 times, most recently from 7f2890d to 52cb834 Compare July 8, 2025 08:21
@renovate renovate bot force-pushed the renovate/nom-8.x branch 2 times, most recently from 47dce63 to de313d9 Compare July 29, 2025 09:12
@renovate renovate bot force-pushed the renovate/nom-8.x branch from de313d9 to 57439ae Compare August 4, 2025 07:57
@renovate renovate bot force-pushed the renovate/nom-8.x branch 5 times, most recently from 4174c96 to ab2effd Compare August 29, 2025 10:04
@renovate renovate bot force-pushed the renovate/nom-8.x branch 2 times, most recently from 944cfae to 162a708 Compare September 4, 2025 08:02
@renovate renovate bot force-pushed the renovate/nom-8.x branch from 162a708 to 506aab0 Compare September 22, 2025 08:57
@renovate renovate bot force-pushed the renovate/nom-8.x branch from 506aab0 to b097aed Compare October 1, 2025 08:05
@renovate renovate bot force-pushed the renovate/nom-8.x branch from b097aed to 1f8e6f3 Compare October 23, 2025 07:04
@renovate renovate bot force-pushed the renovate/nom-8.x branch from 1f8e6f3 to 85eb06e Compare October 27, 2025 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant