tower-sessions-libsql-store 0.3.0

A small library for using tower-sessions with libsql
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# tower-sessions-libsql-store
A small library for using [tower-sessions](https://github.com/maxcountryman/tower-sessions) with [libsql](https://github.com/tursodatabase/libsql).

libSQL is a fork of SQLite, that is accessible over network requests. Ideally I would love to use [sqlx-store](https://github.com/maxcountryman/tower-sessions-stores/tree/main/sqlx-store), though that is not possible due to a [current lack of support](https://github.com/launchbadge/sqlx/issues/2674).

## ⚠️  Disclaimer
This package is in beta.

## Usage
See [`/examples`](./examples) folder.

Note the `embedded_replica` example requires a live turso database to use for embedded replication. Install the [turso cli](https://github.com/tursodatabase/turso-cli) and run `turso dev`.

## Tests
The tests are copied from [tower-session-stores](https://github.com/maxcountryman/tower-sessions-stores). Run them with `cargo test`.