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

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

#1126 in Network programming

Download history 132/week @ 2024-03-03 40/week @ 2024-03-10 101/week @ 2024-03-17 164/week @ 2024-03-24 76/week @ 2024-03-31 3/week @ 2024-04-07

346 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–15MB
~161K SLoC