mirror of
https://github.com/logos-messaging/libchat.git
synced 2026-04-01 17:13:13 +00:00
14 lines
482 B
Rust
14 lines
482 B
Rust
//! Storage module for persisting ratchet state.
|
|
//!
|
|
//! This module provides session management for the double ratchet state,
|
|
//! built on top of the `RatchetStore` trait from the `storage` crate.
|
|
|
|
mod errors;
|
|
mod session;
|
|
mod types;
|
|
|
|
pub use errors::SessionError;
|
|
pub use session::RatchetSession;
|
|
pub use storage::{RatchetStateRecord, RatchetStore, SkippedKeyRecord, StorageConfig, StorageError};
|
|
pub use types::{restore_ratchet_state, to_ratchet_record, to_skipped_key_records};
|