cbor-codec 0.6.0

CBOR Codec implementation

Crate cbor [] [src]

CBOR (RFC 7049) encoder and decoder implementations.

Reexports

pub use decoder::{Config, Decoder, DecodeError, DecodeResult, GenericDecoder};
pub use decoder::{opt, maybe, or_break};
pub use encoder::{Encoder, EncodeError, EncodeResult, GenericEncoder};

Modules

decoder

CBOR (RFC 7049) decoder implementation supporting the following features:

encoder

CBOR (RFC 7049) encoder implementation.

skip

Skip trait to allow efficient skipping of consecutive bytes.

slice

ReadSlice trait to allow efficient reading of slices without copying.

types

CBOR types and tags definitions.

value

This module defines the generic Value AST as well as several other types to represent CBOR values. A Cursor can be used to deconstruct and traverse a Value.