Crates.io | matrix-sdk-indexeddb |
lib.rs | matrix-sdk-indexeddb |
version | 0.8.0 |
source | src |
created_at | 2022-05-11 16:27:21.850864 |
updated_at | 2024-11-19 13:15:16.031368 |
description | Web's IndexedDB Storage backend for matrix-sdk |
homepage | |
repository | https://github.com/matrix-org/matrix-rust-sdk |
max_upload_size | |
id | 584788 |
size | 297,096 |
This crate implements a storage backend on IndexedDB for web environments using the matrix-sdk-base primitives.
The most common usage pattern would be to have this included via matrix-sdk
in your Cargo.toml
and leave
instantiation to it.
[target.'cfg(target_arch = "wasm32")'.dependencies]
matrix-sdk = { version = "0.5, default-features = false, features = ["indexeddb", "e2e-encryption"] }
The following crate feature flags are available:
e2e-encryption
: (on by default) Enables the store for end-to-end encrypted data (IndexeddbCryptoStore
).state-store
: (on by default) Enables the StateStore
implementation (IndexeddbStateStore
).