6 releases (breaking)

0.10.0 Feb 4, 2025
0.9.0 Dec 18, 2024
0.8.0 Nov 19, 2024
0.7.0 Jan 5, 2024
0.1.0 May 11, 2022

#153 in Database interfaces

Download history 317/week @ 2024-10-26 339/week @ 2024-11-02 201/week @ 2024-11-09 471/week @ 2024-11-16 497/week @ 2024-11-23 571/week @ 2024-11-30 547/week @ 2024-12-07 730/week @ 2024-12-14 434/week @ 2024-12-21 256/week @ 2024-12-28 500/week @ 2025-01-04 702/week @ 2025-01-11 579/week @ 2025-01-18 312/week @ 2025-01-25 622/week @ 2025-02-01 841/week @ 2025-02-08

2,490 downloads per month
Used in 7 crates (via matrix-sdk)

Apache-2.0

1.5MB
23K 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

~25–42MB
~674K SLoC