3 releases (breaking)

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

#373 in Database interfaces

Download history 351/week @ 2024-06-10 519/week @ 2024-06-17 387/week @ 2024-06-24 207/week @ 2024-07-01 247/week @ 2024-07-08 414/week @ 2024-07-15 418/week @ 2024-07-22 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 407/week @ 2024-09-23

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

Apache-2.0

2.5MB
45K 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.

Dependencies

~30–42MB
~679K SLoC