Expand description
§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.
Structs§
- Connection
- A connection to a SQLite database.
- Sqlite
Storage Provider - Storage provider for OpenMLS using Sqlite through the
rusqlitecrate. Implements theStorageProvidertrait. The codec used by the storage provider is set by the generic parameterC.