mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-04-23 08:37:55 -04:00
This patch introduces the `sqlite` and `indexeddb` feature flag, enabling the use of SQLite or IndexedDB for the stores. This patch also introduces the ability to use non-persistent, in-memory stores. The new `ClientBuilder::in_memory_store`, `ClientBuilder::sqlite_store` and `ClientBuilder::indexeddb_store` methods are introduced to configure the stores. This patch adds new `SqliteStoreBuilder` and `IndexedDbStoreBuilder` structure.