mirror of
https://github.com/logos-messaging/libchat.git
synced 2026-05-13 05:29:34 +00:00
* feat: storage for conversations * fix: db types conversion * feat: run migrations from sql files * feat: persist identity * fix: revert double ratchet storage refactor * fix: clean * refactor: use result wrapper for ffi * refactor: uniform storage error into chat error * fix: zeroize identity record * fix: zeroize for secret keys in db operations * fix: transactional sql migration * fix: remove destroy_string * feat: db storage for inbox ephermeral keys * chore: remove in memory hashmap for ephemeral keys * feat: persist conversation store * feat: wire with the double ratchet storage * feat: remove conversation store * chore: fix conversation type not used * feat: mock chat store implementation * chore: sqlite module * feat: sqlite crate * chore: sqlite rename * chore: more refactor * extract ratchet store trait * chore: clear error conversion * chore: remove customized db conn * chore: fix clippy * chore: refactor to use generics and enum * chore: further clean for review comments
16 lines
498 B
Rust
16 lines
498 B
Rust
//! Shared storage layer for libchat.
|
|
//!
|
|
//! This crate provides a common storage abstraction that can be used by
|
|
//! multiple crates in the libchat workspace (double-ratchets, conversations, etc.).
|
|
//!
|
|
//! The storage implementation is handled by other crates.
|
|
|
|
mod errors;
|
|
mod store;
|
|
|
|
pub use errors::StorageError;
|
|
pub use store::{
|
|
ChatStore, ConversationKind, ConversationMeta, ConversationStore, EphemeralKeyStore,
|
|
IdentityStore, RatchetStateRecord, RatchetStore, SkippedKeyRecord,
|
|
};
|