ipld_block_builder/
lib.rs1#![deny(missing_docs)]
3#![deny(warnings)]
4
5mod batch;
6mod builder;
7mod cache;
8mod codec;
9#[cfg(feature = "crypto")]
10mod crypto;
11mod path;
12
13pub use batch::Batch;
14pub use builder::BlockBuilder;
15pub use cache::{Cache, CacheBatch, IpldCache, ReadonlyCache};
16pub use codec::*;
17#[cfg(feature = "crypto")]
18pub use crypto::{Error, Key};
19pub use path::DagPath;
20
21use libipld::cbor::DagCborCodec;
22use libipld::multihash::Blake2b256;
23
24pub type Codec = GenericCodec<DagCborCodec, Blake2b256>;
26#[cfg(feature = "crypto")]
28pub type StrobeCodec = GenericStrobeCodec<DagCborCodec, Blake2b256>;