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
127 downloads per month
Used in 4 crates
(3 directly)
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