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

tower-sessions-libsql-store

A small library for using tower-sessions with libsql

4 releases (2 breaking)

0.3.0 Oct 1, 2024
0.2.1 Mar 25, 2024
0.2.0 Mar 23, 2024
0.1.0 Mar 8, 2024

#744 in Network programming

Download history 2/week @ 2024-07-28 11/week @ 2024-09-22 150/week @ 2024-09-29 15/week @ 2024-10-06

176 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–13MB
~163K SLoC