informalsystems_malachitebft_core_votekeeper/
lib.rs1#![no_std]
4#![forbid(unsafe_code)]
5#![deny(trivial_casts, trivial_numeric_casts)]
6#![warn(
7 missing_docs,
8 rustdoc::broken_intra_doc_links,
9 rustdoc::private_intra_doc_links,
10 variant_size_differences
11)]
12#![cfg_attr(not(test), deny(clippy::unwrap_used, clippy::panic))]
13
14extern crate alloc;
15
16pub mod count;
17pub mod evidence;
18pub mod keeper;
19pub mod round_votes;
20pub mod round_weights;
21pub mod value_weights;
22
23pub type Weight = malachitebft_core_types::VotingPower;
26
27pub use malachitebft_core_types::{Threshold, ThresholdParam, ThresholdParams};