Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Aug 19, 2025

Bumps minicbor from 0.26.3 to 2.1.0.

Changelog

Sourced from minicbor's changelog.

2.1.0

  • Added Encoder::str_len, mirroring Encoder::bytes_len which was added in 0.26.1.
  • Depends on minicbor-derive-0.18.1.

2.0.0

  • Depends on minicbor-derive-0.18.0 (see below).

  • ⚠️ Breaking ⚠️ Several generic implementations of Encode and Decode did not override the default is_nil and nil methods. As a result, if a type T implements Encode and Decode with implementations of is_nil and nil, wrapping the type in a Box or Cell or encoding it via reference would revert to the default implementation. This has been fixed and the following impls now override the defaults:

    • &T
    • &mut T
    • Box<T>
    • Cow<'_, T>
    • Cell<T>
    • RefCell<T>

    With this fix, these types have a nil value if T has one whereas prior versions would not.

  • The Encode implementation of RefCell no longer uses try_borrow, but borrow.

1.1.0

  • Adds encode::Error::{as_write, into_write} to allow easier access to an error caused by a Write implementation.

1.0.0

  • Updated to 2024 edition.

0.26.5

  • Add encode::write::Cursor::set_position.

0.26.4

  • Implementations of Iterator::size_hint for decode::{ArrayIter, ArrayIterWithCtx}, decode::{MapIter, MapIterWithCtx}anddecode::{BytesIter, StrIter}` (see pull request #27 by @​carloskiki for details).
  • Fixes an issue with decode::{BytesIter, StrIter}, both of which would yield None for definite but empty bytes or text. They now yield Some(&[]) or Some("") respectively. Note that the behaviour for non-empty definite bytes or text values and for indefinite ones does not change.
  • Implements EncodeBytes, DecodeBytes and CborLenBytes for Box<[u8]> (see pull request #28 by @​carloskiki for details).
Commits
  • 94bcefa Merge branch 'develop'
  • c51ca2c Update CHANGELOG and increment versions.
  • db949dd Add Encoder::str_len.
  • 0f7cc0d Fix blacklist issue.
  • efa50fa Merge branch 'develop'
  • 88d6563 Update CHANGELOG.
  • 62872fe Simplify blacklist derivation for PhantomData.
  • 563868c Fix CHANGELOG.
  • 7bab1f5 Update CHANGELOG and increment versions.
  • 0e336d3 Forward nil/is_nil for Cell and RefCell.
  • Additional commits viewable in compare view

Dependabot compatibility score

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 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)

Bumps [minicbor](https://github.com/twittner/minicbor) from 0.26.3 to 2.1.0.
- [Changelog](https://github.com/twittner/minicbor/blob/develop/CHANGELOG.md)
- [Commits](twittner/minicbor@minicbor-v0.26.3...minicbor-v2.1.0)

---
updated-dependencies:
- dependency-name: minicbor
  dependency-version: 2.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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 Aug 19, 2025
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Aug 26, 2025

Superseded by #44.

@dependabot dependabot bot closed this Aug 26, 2025
@dependabot dependabot bot deleted the dependabot/cargo/minicbor-2.1.0 branch August 26, 2025 13:00
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