7 releases (breaking)

new 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

#202 in Database interfaces

Download history 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 279/week @ 2025-03-02 571/week @ 2025-03-09 774/week @ 2025-03-16 603/week @ 2025-03-23 464/week @ 2025-03-30 726/week @ 2025-04-06

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

~27–43MB
~706K SLoC