#tower-sessions #libsql #session #tower #axum #cookies

tower-sessions-libsql-store

A small library for using tower-sessions with libsql

3 unstable releases

0.2.1 Mar 25, 2024
0.2.0 Mar 23, 2024
0.1.0 Mar 8, 2024

#8 in #sessions

Download history 240/week @ 2024-03-20 48/week @ 2024-03-27 55/week @ 2024-04-03 55/week @ 2024-04-10 7/week @ 2024-04-17 40/week @ 2024-04-24

136 downloads per month

MIT license

20KB
343 lines

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.

Dependencies

~6–14MB
~160K SLoC