iris-chat 0.1.31

Iris Chat command line client and shared encrypted chat core
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SQLite-backed durable storage for the core. One database file
// (`core.sqlite3`) per app install lives under `data_dir/`. The
// connection is owned by `AppCore` (or by a one-shot helper for the
// notification-preview path) and shared with `SqliteStorageAdapter`,
// which implements the `nostr_double_ratchet::StorageAdapter` trait.

mod connection;
mod schema;
mod store;

pub(crate) use connection::{open_database, DataDirLock, CORE_DB_FILENAME};
pub(crate) use iris_chat_protocol::{SharedConnection, SqliteStorageAdapter};
pub(crate) use store::{
    load_messages_around, load_messages_before, load_recent_messages, search_messages_fts,
    AppStore, PersistedMessageSearchHit, SaveSnapshot,
};