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

#181 in Database interfaces

Download history 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 603/week @ 2025-02-01 770/week @ 2025-02-08 470/week @ 2025-02-15 463/week @ 2025-02-22 291/week @ 2025-03-01 497/week @ 2025-03-08 707/week @ 2025-03-15

2,020 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

~26–42MB
~683K SLoC