serde_ipld_dagjson 0.2.2

IPLD DAG-JSON support for Serde.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! DAG-JSON serialization and deserialization.
pub mod codec;
pub mod de;
pub mod error;
pub mod ser;
mod shared;

pub use crate::de::{from_reader, from_slice, Deserializer};
pub use crate::error::{DecodeError, EncodeError};
pub use crate::ser::{to_vec, to_writer, Serializer};

/// The multicodec code for DAG-JSON.
pub const DAG_JSON_CODE: u64 = 0x129;