Expand description

Build Status Repository Documentation


A no_std, host-allocating serialization library


This is the Id type, that uniquely identifies slices of bytes, in rust equivalent to &[u8]. As in the case with &[u8] the length is also encoded in the type, making it a kind of a fat-pointer for content addressed byte-slices.


A Repr to a value that is either local or in storage behind an identifier

Struct for saving encoded data

Struct holding encoded data to be decoded into its initial value

Low-level interface to the store logic

A reference to a value behind a Repr

A mutable reference to a value behind a Repr


The possible errors when fetching/decoding values from a store


Trait to read/write values as bytes

Helper trait to encode Canon types into byte vectors

Type Definitions

Type alias for a payload that is used as a hash