fluentbase_codec/lib.rs
1//! ABI-like encoding and decoding primitives used across Fluentbase runtimes and contracts.
2#![cfg_attr(not(feature = "std"), no_std)]
3#![allow(unused_imports)]
4extern crate alloc;
5extern crate core;
6
7pub mod bytes_codec;
8pub mod encoder;
9mod error;
10mod evm;
11mod func;
12mod hash;
13mod primitive;
14mod tuple;
15mod vec;
16
17#[cfg(test)]
18mod test_utils;
19#[cfg(test)]
20mod tests;
21
22pub use ::byteorder;
23pub use ::bytes;
24pub use encoder::*;
25pub use error::*;
26#[cfg(feature = "derive")]
27pub use fluentbase_codec_derive::Codec;