cbor-lite 0.1.1

A lite [CBOR](http://cbor.io/) encoder and decoder for Rust.
Documentation
  • Coverage
  • 0%
    0 out of 57 items documented0 out of 34 items with examples
  • Size
  • Source code size: 17.65 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 3.3 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • masonforest

Rust CBOR lite

A lite CBOR encoder and decoder for Rust. The primary goal of cbor_lite is to allow encoding and decoding of CBOR data with minimal implementation size. The library doesn't have error handling and doesn't support custom data types.

For a fully working implementation use pyfisch's serde_cbor or BurntSushi's cbor

Usage

extern crate cbor_lite;
use cbor_lite::from_bytes;

println!("{:?}", from_bytes::(vec![131, 1, 2, 3]));
// => Array(1, 2, 3)