Crate tower_sessions_libsql_store

Source
Expand description

§tower-sessions-libsql-store

A small library for using tower-sessions with libsql.

libSQL is a fork of SQLite, that is accessible over network requests. Ideally I would love to use sqlx-store, though that is not possible due to a current lack of support.

§⚠️ Disclaimer

This package is in beta.

§Usage

See /examples folder.

Note the embedded_replica example requires a live turso database to use for embedded replication. Install the turso cli and run turso dev.

§Tests

The tests are copied from tower-session-stores. Run them with cargo test.

Structs§

LibsqlStore
A libSQL session store.

Enums§

LibsqlStoreError
An error type for libSQL stores.