Skip to content

fix(deps): update rust crate nom to v8#3213

Merged
renovate[bot] merged 3 commits intomainfrom
renovate/nom-8.x
Apr 30, 2026
Merged

fix(deps): update rust crate nom to v8#3213
renovate[bot] merged 3 commits intomainfrom
renovate/nom-8.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Apr 30, 2026

This PR contains the following updates:

Package Type Update Change
nom dependencies major 7.18.0
nom dependencies major 7.1.08.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: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

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 these updates 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 enabled auto-merge (squash) April 30, 2026 07:06
@github-actions github-actions Bot added the type: fix Iterations on existing features or infrastructure. label Apr 30, 2026
@renovate renovate Bot force-pushed the renovate/nom-8.x branch from 01db0d4 to cb40397 Compare April 30, 2026 07:16
@renovate renovate Bot merged commit 4f3c20f into main Apr 30, 2026
8 checks passed
@renovate renovate Bot deleted the renovate/nom-8.x branch April 30, 2026 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: fix Iterations on existing features or infrastructure.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant