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

#152 in Database interfaces

Download history 489/week @ 2024-11-17 503/week @ 2024-11-24 575/week @ 2024-12-01 532/week @ 2024-12-08 728/week @ 2024-12-15 444/week @ 2024-12-22 219/week @ 2024-12-29 550/week @ 2025-01-05 646/week @ 2025-01-12 617/week @ 2025-01-19 281/week @ 2025-01-26 656/week @ 2025-02-02 784/week @ 2025-02-09 432/week @ 2025-02-16 462/week @ 2025-02-23 292/week @ 2025-03-02

2,050 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
~689K SLoC