mod backlog;
mod batcher;
mod embedded;
mod metrics;
mod protocol;
mod transport;
pub(super) type ReplicationFrameBytes = bytes::Bytes;
pub use backlog::{BacklogCatchUp, ReplicationBacklog};
pub(crate) use batcher::ReplicationBatchBuilder;
pub use batcher::ReplicationPrimary;
pub use embedded::{ReplicatedEmbeddedStore, ReplicationReplica};
pub use metrics::{ReplicationMetrics, ReplicationMetricsSnapshot};
pub use protocol::{
BorrowedReplicationMutation, FCRP_MAGIC, FCRP_VERSION, FrameKind, HelloRole,
ReplicationCompressionMode, ReplicationFrame, ReplicationFramePayload, ReplicationHello,
ReplicationMutation, ReplicationSnapshot, ReplicationSnapshotChunk, ShardWatermarks,
decode_ack, decode_error, decode_frame, decode_frame_payload, decode_hello,
decode_mutation_batch, decode_snapshot_chunk, encode_ack, encode_error, encode_frame,
encode_hello, encode_mutation_batch, encode_snapshot_chunk, visit_mutation_batch_payload,
};
pub use transport::{ReplicationPrimaryServer, ReplicationReplicaClient, SnapshotProvider};