cortexkit_bus_inmemory/lib.rs
1//! Process-local implementation of the NATS-shaped bus traits.
2//!
3//! State intentionally disappears when the final [`InMemoryBus`] handle is
4//! dropped. Server enforcement, leaves, and system events are not emulated.
5
6mod backend;
7mod conformance;
8mod register;
9mod stream;
10mod work_queue;
11
12pub use backend::{
13 BackendEvent, InMemoryBus, InMemoryConfig, WorkQueueConfig, DEFAULT_DEDUPLICATION_WINDOW,
14 DEFAULT_STREAM_ACK_WAIT,
15};
16pub use conformance::InMemoryConformance;
17pub use register::InMemoryRegisterWatch;
18pub use stream::InMemoryStreamCursor;