tsoracle-openraft-toolkit 0.1.0

Reusable openraft glue: TypeConfig macro, RocksDB log store, lifecycle helpers
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! In-memory fakes for the toolkit's own tests and downstream conformance suites.
//! Only compiled with the `test-fakes` feature or under `cfg(test)`.

// Test scaffolding: `clippy::unwrap_used` / `expect_used` do not fire inside
// `#[test]` / `#[cfg(test)]` (via `clippy.toml`), but these fakes live behind
// a feature flag rather than under `cfg(test)` so consumer crates can pull
// them in. Same intent — exempt the whole sub-tree.
#![allow(clippy::unwrap_used, clippy::expect_used)]

pub mod mem_network;
pub mod partition;

pub use mem_network::{MemNetwork, MemNetworkFactory, MemNetworkPeer};
pub use partition::PartitionController;