feat(ffi): Add IndexedDB and in-memory session stores support.

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.
This commit is contained in:
Ivan Enderlin
2025-10-29 11:45:47 +01:00
parent 8e25c36289
commit 7c6ff517d5
6 changed files with 341 additions and 138 deletions
+1 -1
View File
@@ -234,7 +234,7 @@ fn check_clippy() -> Result<()> {
"rustup run {NIGHTLY} cargo clippy --workspace --all-targets
--exclude matrix-sdk-crypto --exclude xtask
--no-default-features
--features native-tls,sso-login,testing,experimental-element-recent-emojis
--features native-tls,sso-login,sqlite,testing,experimental-element-recent-emojis
-- -D warnings"
)
.run()?;