1#![no_std]
8#![cfg_attr(docsrs, feature(doc_cfg))]
9#![deny(
10 warnings,
11 trivial_casts,
12 trivial_numeric_casts,
13 unused_import_braces,
14 unused_qualifications
15)]
16#![forbid(unsafe_code)]
17#![doc(
18 html_logo_url = "https://raw.githubusercontent.com/informalsystems/tendermint-rs/master/img/logo-tendermint-rs_3961x4001.png"
19)]
20
21extern crate alloc;
22
23#[cfg(any(feature = "std", test))]
24extern crate std;
25
26#[macro_use]
27mod proto_macros;
28
29pub mod error;
30
31pub mod abci;
32pub mod account;
33pub mod block;
34pub mod chain;
35pub mod channel;
36pub mod consensus;
37pub mod crypto;
38pub mod evidence;
39pub mod genesis;
40pub mod hash;
41pub mod merkle;
42mod moniker;
43pub mod node;
44mod prelude;
45pub mod private_key;
46pub mod privval;
47pub mod proposal;
48pub mod public_key;
49pub mod serializers;
50pub mod signature;
51pub mod time;
52mod timeout;
53pub mod trust_threshold;
54pub mod tx;
55pub mod validator;
56mod version;
57pub mod vote;
58
59pub mod v0_34;
60
61#[cfg(test)]
62mod test;
63
64pub use crate::{
65 block::Block,
66 error::Error,
67 genesis::Genesis,
68 hash::{AppHash, Hash},
69 moniker::Moniker,
70 private_key::PrivateKey,
71 proposal::Proposal,
72 public_key::{PublicKey, TendermintKey},
73 signature::Signature,
74 time::Time,
75 timeout::Timeout,
76 version::Version,
77 vote::Vote,
78};