4 releases (breaking)

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

#181 in Cryptography

Download history 491/week @ 2024-08-18 460/week @ 2024-08-25 502/week @ 2024-09-01 438/week @ 2024-09-08 548/week @ 2024-09-15 473/week @ 2024-09-22 467/week @ 2024-09-29 317/week @ 2024-10-06 542/week @ 2024-10-13 375/week @ 2024-10-20 342/week @ 2024-10-27 324/week @ 2024-11-03 217/week @ 2024-11-10 489/week @ 2024-11-17 505/week @ 2024-11-24 674/week @ 2024-12-01

1,911 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
~623K SLoC