Skip to main content

Module cbor

Module cbor 

Source
Available on crate feature cbor only.
Expand description

RFC 8949 CBOR configuration and deterministic encoding. CBOR configuration over the native streaming codec. Supports the JSON-compatible RFC 8949 subset, native byte strings and bignums. Byte, per-collection and configured depth limits apply; trailing bytes are rejected by default. Custom trait allocations are outside these limits.

Stable map ordering materializes an intermediate value tree and is not RFC 8949 deterministic encoding; see with_deterministic_encoding.

Structsยง

CborConfig
RFC 8949 CBOR configuration derived from the common resource policies.
FingerprintedCborConfigfingerprint
Fingerprinted RFC 8949 CBOR configuration.