4 releases (breaking)

new 0.8.0 Nov 19, 2024
0.7.0 Jan 5, 2024
0.2.0 Sep 28, 2022
0.1.0 May 11, 2022

#1543 in Cryptography

Download history 403/week @ 2024-07-29 368/week @ 2024-08-05 478/week @ 2024-08-12 501/week @ 2024-08-19 486/week @ 2024-08-26 449/week @ 2024-09-02 467/week @ 2024-09-09 545/week @ 2024-09-16 475/week @ 2024-09-23 447/week @ 2024-09-30 299/week @ 2024-10-07 544/week @ 2024-10-14 396/week @ 2024-10-21 328/week @ 2024-10-28 312/week @ 2024-11-04 236/week @ 2024-11-11

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

Apache-2.0

1MB
21K 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
~619K SLoC