6 releases (breaking)

new 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

#155 in Database interfaces

Download history 398/week @ 2024-10-22 322/week @ 2024-10-29 268/week @ 2024-11-05 242/week @ 2024-11-12 594/week @ 2024-11-19 522/week @ 2024-11-26 507/week @ 2024-12-03 589/week @ 2024-12-10 692/week @ 2024-12-17 374/week @ 2024-12-24 342/week @ 2024-12-31 514/week @ 2025-01-07 743/week @ 2025-01-14 446/week @ 2025-01-21 360/week @ 2025-01-28 750/week @ 2025-02-04

2,360 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–41MB
~673K SLoC