#cbor #cose #suit

no-std suit_cbor

Lightweight no_std utilities for lazy CBOR decoding

2 releases

Uses new Rust 2024

new 0.1.1 Feb 24, 2026
0.1.0 Feb 20, 2026

#2121 in Encoding


Used in 2 crates

MIT license

17KB
311 lines

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.


suit_cbor

Lightweight no_std utilities for lazy CBOR decoding.

This crate provides:

  • CborIter for lazy array decoding
  • BstrStruct for bstr .cbor wrappers
  • ergonomic wrapper macros

Designed for SUIT / COSE workflows and constrained environments.

This is an early release (0.1.0). Some edge cases (e.g., indefinite-length arrays) may not yet be fully tested.

Dependencies

~325–710KB
~17K SLoC