1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//! Core ipld types used by ipld codecs.
#![deny(missing_docs)]
#![deny(warnings)]
#![cfg_attr(not(feature = "std"), no_std)]

extern crate alloc;

pub mod codec;
pub mod convert;
pub mod error;
pub mod ipld;
pub mod link;
pub mod raw;
pub mod raw_value;

pub use cid;
#[cfg(feature = "std")]
pub use multibase;
pub use multihash;

#[cfg(not(feature = "std"))]
use core2::io;
#[cfg(feature = "std")]
use std::io;