informalsystems_malachitebft_core_consensus/
lib.rs

1#![doc = include_str!("../README.md")]
2#![allow(rustdoc::private_intra_doc_links)]
3
4mod prelude;
5
6mod input;
7pub use input::Input;
8
9mod state;
10pub use state::State;
11
12mod error;
13pub use error::Error;
14
15mod params;
16pub use params::{Params, ThresholdParams};
17
18#[doc(hidden)]
19pub use params::HIDDEN_LOCK_ROUND;
20
21mod effect;
22pub use effect::{Effect, Resumable, Resume};
23
24mod types;
25pub use types::*;
26
27mod full_proposal;
28mod macros;
29mod util;
30
31mod ser;
32
33// Only used in macros
34#[doc(hidden)]
35pub mod gen;
36
37// Only used in macros
38mod handle;
39#[doc(hidden)]
40pub use handle::handle;
41
42// Only used internally, but needs to be exposed for tests
43#[doc(hidden)]
44pub use full_proposal::{FullProposal, FullProposalKeeper};
45
46// Used in macros
47#[doc(hidden)]
48pub use tracing;