5 releases (breaking)

0.9.0 Dec 18, 2024
0.8.0 Nov 19, 2024
0.7.0 Jan 5, 2024
0.2.0 Sep 28, 2022
0.1.0 May 11, 2022

#2 in #matrix-sdk

Download history 486/week @ 2024-09-17 478/week @ 2024-09-24 436/week @ 2024-10-01 388/week @ 2024-10-08 461/week @ 2024-10-15 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 226/week @ 2024-12-31

1,951 downloads per month
Used in 7 crates (via matrix-sdk)

Apache-2.0

1MB
22K 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–39MB
~626K SLoC