5 releases

0.2.0 Feb 4, 2026
0.1.1 Sep 26, 2025
0.1.1-rc.1 Sep 25, 2025
0.1.0 Jul 17, 2025
0.1.0-pre.1 Jul 15, 2025

#7 in #generic-parameters

Download history 78/week @ 2025-10-23 110/week @ 2025-10-30 115/week @ 2025-11-06 129/week @ 2025-11-13 119/week @ 2025-11-20 43/week @ 2025-11-27 42/week @ 2025-12-04 73/week @ 2025-12-11 80/week @ 2025-12-18 26/week @ 2025-12-25 60/week @ 2026-01-01 88/week @ 2026-01-08 23/week @ 2026-01-15 8/week @ 2026-01-22 19/week @ 2026-01-29 54/week @ 2026-02-05

127 downloads per month
Used in 4 crates (3 directly)

MIT license

130KB
3K SLoC

SQLite Storage

This crate provides the SqliteStorageProvider which implements the OpenMLS trait StorageProvider using the rusqlite crate.

Usage

Generally, the SqliteStorageProvider can be used like any other storage provider. However, before first use, the database needs to be initialized. This is done using the [SqliteStorageProvider::run_migrations()] method.

Codec

The SqliteStorageProvider can be instantiated with any codec that make use of the Serialize and DeserializeOwned traits of the serde crate. The codec is set by implementing Codec and passing the implementation as generic parameter to the SqliteStorageProvider upon creation.

Support

The SQLite storage provider currently does not support the wasm32 target.


OpenMLS SQLite Storage

A codec-independent storage provider implementing the StorageProvider trait from openmls_traits based on the rusqlite crate.

Dependencies

~32MB
~592K SLoC