1#![cfg_attr(docsrs, feature(doc_cfg))]
2#![doc = include_str!("../README.md")]
3
4pub mod any;
5pub mod blob;
6pub mod block;
7mod byzantine;
8pub mod consts;
9mod data_availability_header;
10pub mod eds;
11mod error;
12#[cfg(any(
13 feature = "uniffi",
14 all(target_arch = "wasm32", feature = "wasm-bindgen")
15))]
16pub mod evidence;
17mod extended_header;
18pub mod fraud_proof;
19pub mod hash;
20mod merkle_proof;
21pub mod namespace_data;
22pub mod nmt;
23#[cfg(feature = "p2p")]
24#[cfg_attr(docsrs, doc(cfg(feature = "p2p")))]
25pub mod p2p;
26pub mod row;
27pub mod row_namespace_data;
28pub mod sample;
29pub mod serializers;
30mod share;
31#[cfg(any(
32 feature = "uniffi",
33 all(target_arch = "wasm32", feature = "wasm-bindgen")
34))]
35pub mod signature;
36pub mod state;
37mod sync;
38#[cfg(any(test, feature = "test-utils"))]
39#[cfg_attr(docsrs, doc(cfg(feature = "test-utils")))]
40pub mod test_utils;
41pub mod trust_level;
42#[cfg(feature = "uniffi")]
43pub mod uniffi_types;
44mod validate;
45mod validator_set;
46
47pub use crate::blob::{Blob, Commitment};
48pub use crate::block::Height;
49pub use crate::consts::appconsts::AppVersion;
50pub use crate::data_availability_header::*;
51pub use crate::eds::{AxisType, ExtendedDataSquare};
52pub use crate::error::*;
53pub use crate::extended_header::*;
54pub use crate::fraud_proof::FraudProof;
55pub use crate::merkle_proof::MerkleProof;
56pub use crate::share::*;
57pub use crate::sync::*;
58pub use crate::validate::*;
59
60#[cfg(feature = "uniffi")]
63pub use crate::hash::Hash;
64
65#[cfg(all(test, target_arch = "wasm32"))]
66wasm_bindgen_test::wasm_bindgen_test_configure!(run_in_browser);
67
68#[cfg(feature = "uniffi")]
69uniffi::setup_scaffolding!();