Crate libipld[][src]

The Ipld crate.

Re-exports

pub use libipld_cbor as cbor;
pub use libipld_json as json;
pub use libipld_pb as pb;
pub use block::Block;
pub use codec_impl::IpldCodec;
pub use path::DagPath;
pub use path::Path;
pub use store::DefaultParams;

Modules

block

Block validation

cache

Cache

cid

cid

codec

Ipld codecs.

codec_impl

IPLD Codecs.

convert

Conversion to and from ipld.

error

Ipld error definitions.

ipld

Ipld representation.

link

Typed cid.

mem

Reference store implementation.

multibase

multibase

path

Path

prelude

Prelude

raw

Implements the raw codec.

raw_value

misc stuff

store

Store traits.

Macros

alias

Creates a static alias concatenating the module path with an identifier.

derive_cache

Macro to derive cache trait for a struct.

ipld

Structs

Link

Typed cid.

Enums

Ipld

Ipld

Type Definitions

Cid

A Cid that contains a multihash with an allocated size of 512 bits.

Multihash

A Multihash with the same allocated size as the Multihashes produces by this derive.

Result

Result<T, Error>

Derive Macros

DagCbor