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

Bump the rust-dependencies group with 3 updates #260

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

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 1, 2025

Bumps the rust-dependencies group with 3 updates: bullet_stream, fs-err and winnow.

Updates bullet_stream from 0.3.0 to 0.4.0

Changelog

Sourced from bullet_stream's changelog.

v0.4.0 - 2025/01/21

Commits

Updates fs-err from 3.0.0 to 3.1.0

Changelog

Sourced from fs-err's changelog.

3.1.0

  • Added new wrappers for create_new and options functions on File (#69)
Commits

Updates winnow from 0.6.22 to 0.7.0

Changelog

Sourced from winnow's changelog.

[0.7.0] - 2025-01-30

Migration Guide

  1. Upgrade to the latest 0.6 release
  2. Resolve all deprecations
  3. Replace impl Parser<_, _, _> with impl ModalParser<_, _, _>
  4. Upgrade to 0.7.0
  5. Resolve any compiler errors
  • For custom errors, remove switch from from_error_kind to from_input and remove other kind parameters
  • For seq!(<tuple>), you may need to add mut to shared parsers
  • For Stream::peek* calls, update for lack of Stream being returned
  • Where ModalParser couldn't be used, change Parser<I, O, E> to Parser<I, O, ErrMode<E>>
  1. Resolve all deprecations

If you do not use cut_err or Partial, you can further clean up the code and improve performance by removing the use of ErrMode

  • Replace ModalResult<O, E> with winnow::Result<O> (if using default error type) or just Result<O, E>
  • Replace impl ModalParser with impl Parser
  • Remove uses of ErrMode

Compatibility

  • escaped and take_escaped now assert, rather than stop, on empty normal output
  • Some parsers used in seq(<tuple>) must now be mut
  • Stream::peek_token, Stream::peek_slice, Stream::peek_finish no longer return a clone of Stream
  • trait Locations functions have changed to improve parsing of lexed tokens
  • ParserError::append and FromExternalError::from_external_errors kind parameter has been removed
  • ParserError, AsChar, ContainsToken, Stream were added to the prelude
  • Some trait bounds changed
  • Deprecated functionality removed
  • Deprecated escaped_transform in favor of the new name escaped

Features

  • Decoupled ErrMode from the core traits through new ModalError trait and ParserError modal functions, allowing better performance and greater flexibility
  • Add ParserError, AsChar, ContainsToken, Stream to the prelude
  • Add stream::TokenSlice to help parsing of lexed tokens
  • Implement ErrorConvert for ErrMode

Fixes

  • Borrow parsers in seq!(<tuple>) so they can be used multiple times
  • escaped and take_escaped now assert, rather than stop, on empty normal output
  • Improve type inference for Parser::by_ref, Parser::complete_err
  • Improve error reports for float
  • Added an inherent ParserError::append to reduce boilerplate with custom errors
  • Added support for TreeError with binary::bits parsers
  • escaped can now have separate types for normal and escaped parsers

Documentation

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code skip changelog labels Feb 1, 2025
@dependabot dependabot bot requested a review from a team as a code owner February 1, 2025 16:18
Bumps the rust-dependencies group with 3 updates: [bullet_stream](https://github.com/schneems/bullet_stream), [fs-err](https://github.com/andrewhickman/fs-err) and [winnow](https://github.com/winnow-rs/winnow).


Updates `bullet_stream` from 0.3.0 to 0.4.0
- [Changelog](https://github.com/heroku-buildpacks/bullet_stream/blob/main/CHANGELOG.md)
- [Commits](https://github.com/schneems/bullet_stream/commits/v0.4.0)

Updates `fs-err` from 3.0.0 to 3.1.0
- [Changelog](https://github.com/andrewhickman/fs-err/blob/main/CHANGELOG.md)
- [Commits](andrewhickman/fs-err@3.0.0...3.1.0)

Updates `winnow` from 0.6.22 to 0.7.0
- [Changelog](https://github.com/winnow-rs/winnow/blob/main/CHANGELOG.md)
- [Commits](winnow-rs/winnow@v0.6.22...v0.7.0)

---
updated-dependencies:
- dependency-name: bullet_stream
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: rust-dependencies
- dependency-name: fs-err
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: rust-dependencies
- dependency-name: winnow
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: rust-dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/cargo/rust-dependencies-eacbcd70a3 branch from 10d9b12 to 73f9d5f Compare February 3, 2025 08:52
@edmorley edmorley requested review from schneems and removed request for a team February 3, 2025 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code skip changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants