Skip to content

chore(deps): update varing requirement from 0.13 to 0.14 - #180

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/varing-0.14
Open

chore(deps): update varing requirement from 0.13 to 0.14#180
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/varing-0.14

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 20, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on varing to permit the latest version.

Changelog

Sourced from varing's changelog.

0.14.0 (Jul 17th, 2026)

Safety and correctness release from a deep audit of the decoders and the encoded-length contracts. Malformed and non-canonical inputs now always return a decode error instead of panicking, aliasing a valid value, or being silently accepted. Valid-value wire encodings, no_std/no-alloc operation, and const-callability are preserved.

Fixed (soundness)

  • bnum unequal-width Packable::pack/unpack performed an out-of-bounds read reachable from safe code; the digit copies are now correctly bounded.
  • MapDecoder (and the sequence/map decode helpers) could construct NonZeroUsize(0) in release builds from a safe but adversarial Varint implementation; consumed lengths are now validated with checked arithmetic before slicing.

Fixed (decoders reject malformed input instead of panicking or aliasing)

  • The bnum and ruint decoders now reject excess data bits in a partial final byte instead of decoding an over-wide value to a truncated result.
  • The core, chrono, and time Duration decoders no longer panic on hostile bytes: out-of-range seconds/nanoseconds are rejected, and signed durations reject sign-mismatched seconds and subseconds that would otherwise normalize to a different value.
  • The time/chrono time, date, and datetime decoders reject non-canonical encodings (bits outside the packed layout can no longer alias a valid value).

Fixed (encoded-length contracts)

  • MIN_ENCODED_LEN for Complex, Ratio, and signed arbitrary-int types was set to a maximum; it is now the true minimum, so ENCODED_LEN_RANGE holds. For Ratio this is the length of the shortest valid value (a zero denominator is not representable, so the minimum is 0/1, not one byte).
  • Unsigned Complex<bnum> packed into an eightfold-oversized type; it now uses the correct (bits / 8) * 2 digit width, shrinking MAX_ENCODED_LEN and the packed temporary and rejecting over-wide non-canonical aliases.

Fixed (encoders)

  • The specialized encode_*_sequence_to functions returned Ok after encoding only a prefix when the buffer was too small; they now fail with an insufficient-space error (all-or-error).

Changed

  • Timezone decoding (chrono-tz) uses an O(1) checked direct index instead of a linear scan over all variants, preserving the exact accept/reject set.

Added

... (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 show <dependency name> 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)

Updates the requirements on [varing](https://github.com/al8n/varing) to permit the latest version.
- [Release notes](https://github.com/al8n/varing/releases)
- [Changelog](https://github.com/al8n/varing/blob/main/CHANGELOG.md)
- [Commits](https://github.com/al8n/varing/commits)

---
updated-dependencies:
- dependency-name: varing
  dependency-version: 0.14.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Jul 20, 2026
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants