#![doc = include_str!("../README.md")]
#![cfg_attr(not(test), warn(clippy::unwrap_used, clippy::expect_used))]
pub mod capabilities;
pub mod driver;
pub mod host;
pub mod log_codec;
pub mod log_entry;
pub mod observability;
pub mod snapshot_store;
pub mod standalone;
pub mod state_machine;
pub mod type_config;
pub use capabilities::{
CapabilitySource, FormatActivationError, NodeCapabilities, all_members_can_read, gather_with,
};
pub use driver::OpenraftDriver;
pub use host::OpenraftHighWaterHost;
pub use log_codec::OpenraftLogCodec;
pub use log_entry::{HighWaterCommand, SetFormatVersionPayload};
#[cfg(feature = "rocksdb-snapshot-store")]
pub use snapshot_store::RocksdbSnapshotStore;
pub use snapshot_store::{InMemorySnapshotStore, SnapshotStore};
pub use standalone::StandaloneHost;
pub use state_machine::{HighWaterStateMachine, HighWaterStateMachineSnapshot};
pub use tsoracle_consensus::AdvancePayload;
pub use tsoracle_core::TsoPeer;
pub use type_config::{
ApplyOutcome, HighWaterApplied, OpenraftEntry, OpenraftLogId, OpenraftPeer, OpenraftVote,
ServiceEndpoint, TypeConfig,
};