8000 chore(ci): Update Rust crate nom to v8 by renovate[bot] · Pull Request #1404 · conda/rattler · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

chore(ci): Update Rust crate nom to v8 #1404

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

Merged
merged 3 commits into from
Jun 20, 2025
Merged

chore(ci): Update Rust crate nom to v8 #1404

merged 3 commits into from
Jun 20, 2025

Conversation

renovate[bot]
Copy link
Contributor
@renovate renovate bot commented Jun 20, 2025

This PR contains the following updates:

Package Type Update Change
nom workspace.dependencies major 7.1.3 -> 8.0.0

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


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 - "before 4am on Tuesday" (UTC), 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.

@renovate renovate bot added the dependencies Bump of a dependency label Jun 20, 2025
Copy link
Contributor Author
renovate bot commented Jun 20, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path Cargo.toml --package nom@7.1.3 --precise 8.0.0
    Updating crates.io index
error: failed to select a version for the requirement `nom = "^7"`
candidate versions found which didn't match: 8.0.0
location searched: crates.io index
required by package `cexpr v0.6.0`
    ... which satisfies dependency `cexpr = "^0.6"` (locked to 0.6.0) of package `bindgen v0.71.1`
    ... which satisfies dependency `bindgen = "^0.71.1"` (locked to 0.71.1) of package `tools v0.1.0 (/tmp/renovate/repos/github/conda/rattler/crates/tools)`
    ... which satisfies path dependency `tools` (locked to 0.1.0) of package `rattler_index v0.23.0 (/tmp/renovate/repos/github/conda/rattler/crates/rattler_index)`

@renovate renovate bot changed the title chore(ci): Update Rust crate nom to v8 chore(ci): Update Rust crate nom to v8 - autoclosed Jun 20, 2025
@renovate renovate bot closed this Jun 20, 2025
@renovate renovate bot deleted the renovate/nom-8.x branch June 20, 2025 15:20
@renovate renovate bot changed the title chore(ci): Update Rust crate nom to v8 - autoclosed chore(ci): Update Rust crate nom to v8 Jun 20, 2025
@renovate renovate bot reopened this Jun 20, 2025
@renovate renovate bot force-pushed the renovate/nom-8.x branch from 59ff47e to a7f61d2 Compare June 20, 2025 15:27
Copy link
Contributor Author
renovate bot commented Jun 20, 2025

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@baszalmstra baszalmstra enabled auto-merge (squash) June 20, 2025 15:46
@baszalmstra baszalmstra merged commit 6a82c85 into main Jun 20, 2025
29 of 31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Bump of a dependency
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0