Skip to main content

Crate rdt

Crate rdt 

Source
Expand description

§RDT - Real-time Document Transport

A state synchronization framework for Axum-based Rust servers and frontends.

RDT provides thread-safe document and map management with WebSocket-based synchronization for real-time collaboration and state management.

Re-exports§

pub use document::Document;
pub use document::DocumentHandle;
pub use document::DocumentMap;
pub use document::DocumentMapHandle;
pub use document::DocumentStore;
pub use document::TransactionHandle;
pub use error::RdtError;
pub use error::RdtResult;
pub use protocol::Change;
pub use protocol::ChangeEvent;
pub use protocol::ClientMessage;
pub use protocol::ServerMessage;
pub use axum::router_with_rdt;
pub use axum::router_with_rdt_state;
pub use axum::RdtState;
pub use axum::WebSocketHandler;
pub use persistence::PersistenceManager;

Modules§

axum
document
error
persistence
protocol