1#![cfg_attr(doc_cfg, feature(doc_cfg))]
2
3extern crate alloc;
4
5mod error;
6#[cfg(feature = "hash")]
7mod hash;
8#[cfg(feature = "hex")]
9#[cfg_attr(doc_cfg, doc(cfg(feature = "hex")))]
10pub mod hex;
11#[cfg(feature = "proof")]
12mod proof;
13pub mod types;
14
15pub use error::Error;
16
17#[cfg(feature = "proof")]
18#[cfg_attr(doc_cfg, doc(cfg(feature = "proof")))]
19pub use proof::{verify_proof, verify_trie_proof};
20
21#[cfg(feature = "hash")]
22#[cfg_attr(doc_cfg, doc(cfg(feature = "hash")))]
23pub use hash::keccak_256;
24
25pub mod consts;