7 releases (breaking)

0.11.0 Apr 11, 2025
0.10.0 Feb 4, 2025
0.9.0 Dec 18, 2024
0.8.0 Nov 19, 2024
0.1.0 May 11, 2022

#160 in Database interfaces

Download history 395/week @ 2025-01-22 433/week @ 2025-01-29 846/week @ 2025-02-05 568/week @ 2025-02-12 362/week @ 2025-02-19 412/week @ 2025-02-26 325/week @ 2025-03-05 787/week @ 2025-03-12 677/week @ 2025-03-19 526/week @ 2025-03-26 431/week @ 2025-04-02 795/week @ 2025-04-09 860/week @ 2025-04-16 825/week @ 2025-04-23 765/week @ 2025-04-30 594/week @ 2025-05-07

3,186 downloads per month
Used in 7 crates (via matrix-sdk)

Apache-2.0

1.5MB
24K SLoC

matrix-sdk-indexedddb

This crate implements a storage backend on IndexedDB for web environments using the matrix-sdk-base primitives.

Usage

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"] }

Crate Feature Flags

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).

Dependencies

~26–43MB
~696K SLoC