forest_encoding/lib.rs
1// Copyright 2019-2022 ChainSafe Systems
2// SPDX-License-Identifier: Apache-2.0, MIT
3
4mod bytes;
5mod cbor;
6mod errors;
7mod hash;
8
9pub use serde::{de, ser};
10pub use serde_bytes;
11pub use serde_cbor::{error, from_reader, from_slice, tags, to_vec, to_writer};
12
13pub use self::bytes::*;
14pub use self::cbor::*;
15pub use self::errors::*;
16pub use self::hash::*;
17
18pub mod tuple {
19 pub use serde_tuple::{self, Deserialize_tuple, Serialize_tuple};
20}
21
22pub mod repr {
23 pub use serde_repr::{Deserialize_repr, Serialize_repr};
24}