Expand description
CBOR encoding/decoding abstraction layer.
Provides a CborCodec trait for deterministic CBOR encoding/decoding,
plus a backend-agnostic value::Value enum and value::Tagged wrapper.
The default (and currently only) backend is the in-house minimal CBOR
implementation in minimal, which guarantees RFC 8949 §4.2.1
deterministic encoding with zero external dependencies.
The CborCodec trait is designed so that alternative backends (e.g.,
ciborium) can be added behind feature gates in the future without
changing any type definitions or public APIs.
Modules§
- constants
- CBOR wire-format constants from RFC 8949 (STD 94).
- minimal
- Minimal in-house CBOR encoder/decoder.
- value
- Backend-agnostic CBOR value types.
Traits§
- Cbor
Codec - Trait abstracting CBOR encode/decode operations.
Functions§
- decode
- Convenience: decode using the default codec.
- encode
- Convenience: encode using the default codec.
Type Aliases§
- Default
Codec - The active CBOR codec.