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

tower-sessions-libsql-store

A small library for using tower-sessions with libsql

5 releases (3 breaking)

new 0.4.0 Jan 9, 2025
0.3.0 Oct 1, 2024
0.2.1 Mar 25, 2024
0.2.0 Mar 23, 2024
0.1.0 Mar 8, 2024

#1013 in Network programming

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
~164K SLoC