mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-02-17 10:22:32 -05:00
29 lines
697 B
Rust
29 lines
697 B
Rust
#![warn(unreachable_pub)]
|
|
#![deny(unused_must_use)]
|
|
#![doc(test(
|
|
no_crate_inject,
|
|
attr(deny(warnings, rust_2018_idioms), allow(dead_code, unused_variables))
|
|
))]
|
|
#![cfg_attr(not(feature = "std"), no_std)]
|
|
|
|
#[cfg(feature = "alloc")]
|
|
extern crate alloc;
|
|
|
|
mod decode;
|
|
mod encode;
|
|
mod types;
|
|
|
|
pub use bytes::BufMut;
|
|
|
|
pub use decode::{Decodable, DecodeError, Rlp};
|
|
pub use encode::{
|
|
const_add, encode_fixed_size, encode_iter, encode_list, length_of_length, list_length,
|
|
Encodable, MaxEncodedLen, MaxEncodedLenAssoc,
|
|
};
|
|
pub use types::*;
|
|
|
|
#[cfg(feature = "derive")]
|
|
pub use reth_rlp_derive::{
|
|
RlpDecodable, RlpDecodableWrapper, RlpEncodable, RlpEncodableWrapper, RlpMaxEncodedLen,
|
|
};
|