#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

#1192 in Network programming

Download history 147/week @ 2024-03-05 29/week @ 2024-03-12 219/week @ 2024-03-19 53/week @ 2024-03-26 72/week @ 2024-04-02 55/week @ 2024-04-09 1/week @ 2024-04-16 46/week @ 2024-04-23

106 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