Skip to main content

Crate openmls_sqlx_storage

Crate openmls_sqlx_storage 

Source
Expand description

§SQLx Storage Provider

This crate implements a storage provider for OpenMLS using SQLx. The only supported database is currently SQLite.

The main struct is SqliteStorageProvider, which implements the StorageProvider trait from the openmls_traits crate.

The crate manages its own database migrations in its own migrations table with the name _openmls_sqlx_migrations. All tables created by this crate are prefixed with openmls_ to avoid name clashes.

Structs§

SqliteStorageProvider
SqliteStorageProvider implements the StorageProvider trait and can thus be used as a storage provider for OpenMLS.

Traits§

Codec
A codec is used to serialize and deserialize OpenMLS data.