baoyachi / shadow-rs

A build-time information stored in your rust project.(binary,lib,cdylib,dylib)
https://docs.rs/shadow-rs
MIT License
444 stars 40 forks source link

Update winnow requirement from 0.5.33 to 0.6.0 #152

Closed dependabot[bot] closed 6 months ago

dependabot[bot] commented 6 months ago

Updates the requirements on winnow to permit the latest version.

Changelog

Sourced from winnow's changelog.

[0.6.0] - 2024-02-13

Migration to v0.6

  1. Ensure you've migrated to 0.5
  2. Upgrade to latest 0.5 release
  3. Resolve all deprecations
  4. Upgrade to 0.6
  5. See "Breaking Changes" for help with any remaining issues

Performance

  • Use simd for till_line_ending

Features

  • Added isize support for dec_int
  • Added usize support for dec_uint

Fixes

  • Prevent panic from slicing a &str on a non-UTF8 boundary
  • Removed unused trait bounds
  • (debug) Improved traces for char, u8 literal parsers by using literal instead of one_of
  • (debug) Improved traces by having literal output the literal

Breaking Change

Most common breaking changes:

  • Stream::reset now accepts a checkpoint by reference, rather than by value
  • ParserError::append now takes a start: &Checkpoint parameter for capturing the start of the current parse operation
  • AddContext::add_context now takes a start: &Checkpoint parameter for capturing the start of the current parse operation
  • FindSlice::find_slice now returns a range
  • CompareResult::Ok now carries a usize
  • Checkpoint gained a generic parameter, limiting it to the stream type it came from

All others

  • Deprecated functionality was removed
  • dec_int / dec_uint continue don't stop capturing tokens once the data type is saturated
  • Trait bounds changed for char, u8 literal parsers
  • literal requires the tag to impl Debug
  • Asserts in release build now Cut rather than Backtrack
  • Added "no progress" asserts to repeating combinators to prevent infinite loops
  • Added "min is lower than max" asserts to ranged parsers

[0.5.40] - 2024-02-12

Features

  • Add support to take_until for char needles on &[u8] haystacks

... (truncated)

Commits
  • 49d175e chore: Release
  • 76baa0b docs: Update changelog
  • dc8cc0c Merge pull request #474 from epage/misc
  • caa3205 fix(bits)!: Remove tag
  • 7eb666e fix(token)!: Remove tag
  • faa803f Merge pull request #473 from epage/dec
  • 189be56 feat(ascii): Add usize/isize dec int parsing
  • 42f35d6 fix(ascii): Remove dec_uint suppoert for signed integers
  • c8830bc refactor(ascii)!: Simplify dec_int / dec_uint parsers
  • 49c9ecf chore: Release
  • Additional commits viewable in compare view


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 ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 6 months ago

The following labels could not be found: 📦 dependencies.

dependabot[bot] commented 6 months ago

Superseded by #153.