Moved Token from minicbor::decode to minicbor::data. Token also implements Decode now.
Removed the deprecated Encoder::into_inner method. Use Encoder::into_writer instead.
0.22.0
⚠️ Breaking ⚠️: Tokenizer now has two lifetime parameters because it sometimes borrows the
inner Decoder.
Tokens can now also be encoded (cf. merge request !37 by @alistair23). Methods Encoder::tokens
and Decoder::tokens have been added.
0.21.1
Tag::new and Tag::as_u64 are now declared const (cf. merge request !36 by @DCNick3).
0.21.0
⚠️ Breaking ⚠️: Tag handling has been reworked (cf. merge request !34). The Tag type is now
merely a newtype around a u64. A new enum IanaTag represents registered tag values.
0.20.0
Support for decoding arrays of arbitrary length has been added (cf. merge request !31 by @samuelmhicks).
Added Encode and Decode impls for CStr and CString (cf. merge request !29).
Added decode::info::Size to allow length introspection of CBOR values (see merge requests !25
and !28 for details).
0.19.1
Bugfix release (see merge request !26 by @jeandudey for details).
0.19.0
Added the trait CborLen and functions minicbor::len and minicbor::len_with to allow client
code to calculate the length in bytes of a value's CBOR representation. See issue #32 and merge
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)
Updates the requirements on minicbor to permit the latest version.
Changelog
Sourced from minicbor's changelog.
... (truncated)
Commits
e63a745
Merge branch 'develop'd429dcd
Update CHANGELOG and increment version.9e7ba10
Merge branch 'mr-46' into develop10b871b
Tweak IanaTag -> Tag conversion.912a03f
fix unconditional recursion insideFrom\<&IanaTag> for Tag
5cffa45
fixCborLen
derivation for transparent typesa125254
Merge branch 'develop'29c6a15
Update CHANGELOG and increment version.c1725c4
Merge branch 'mr-45' into develop6d243f6
EnableCborLen
implementation forBTreeMap
ifalloc
is enabledDependabot 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