Skip to main content

Crate suit_cbor

Crate suit_cbor 

Source
Expand description

Lightweight no_std utilities for lazy CBOR decoding.

This crate provides zero-copy wrappers over CBOR arrays and bstr .cbor encoded structures, enabling deferred decoding.

Designed for constrained environments and SUIT/COSE workflows.

Modules§

errors

Macros§

bstr_wrapper
Generate a bstr wrapper struct for .bstr CBOR struct
iter_wrapper
Generate a lazy wrapper struct for CBOR arrays.

Structs§

BstrStruct
A lazily decoded CBOR .bstr wrapper.
CborIter
A lazily decoded CBOR array wrapper.