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
request !23 for details.
0.18.0
Remove feature partial-derive-support. Encode and Decode can always be derived. See
commits 21060b3272d4d09af88aa8543f682c8c4477a886 and 9038d3cced197588ae4d8d2c891d6f51029a9e7d
for details.
Rework encode::Write impls. The blanket impl for types implementing std::io::Write has
been removed. The impl for Vec<u8> now always uses Infallible as its error type and
minicbor::{to_vec, to_vec_with} no longer require feature "std". See commit
498043ddce69e3da0dcc66593afdeea0dd058fb8 for details.
Depend on minicbor-derive-0.12.0.
0.17.1
Fix missing import for cargo feature derive.
0.17.0
Remove cargo feature partial-skip-support. The method Decoder::skip is now always available.
With cargo feature alloc, every CBOR item can be skipped over, otherwise attempting to skip
over indefinite-length arrays or maps inside of regular arrays or maps will result in an error.
Depend on minicbor-derive-0.11.0.
0.16.1
Specialise Cow<_, [u8]> by adding implementations of minicbor::bytes::{EncodeBytes, DecodeBytes}.
0.16.0
No change since 0.16.0-rc.1.
0.16.0-rc.1
⚠️ Breaking ⚠️: The Encode and Decode traits are now parameterised by a context type and
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
7b9588d
Merge branch 'develop'45f0734
Update CHANGELOG and incremement versions.20ec5a5
Only compile enum tests when derive feature is present.b9d7ecc
Small tweaks to array decoding.534e472
Merge branch 'mr-origin-31' into developfbb8df4
Added support for arbitrary-length arrays0aa2ca8
Add decode::info::Size.ac07125
Set workspace resolver to "2".daf58fb
Merge branch 'cstring' into develop28aacc7
Merge branch 'minicbor-decoder_improvements' into developDependabot 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