maxcountryman / tower-sessions-stores

🚃 Previously bundled session stores for `tower-sessions`.
https://github.com/maxcountryman/tower-sessions
MIT License
22 stars 7 forks source link

rusqlite store #6

Closed patte closed 4 months ago

patte commented 4 months ago

This PR adds a store for tokio-rusqlite. It is basically an adapted version of the sqlx-sqlite store. As I'm still new to rust I couldn't find a way to make it more DRY and maybe made a stupid mistake, glad if you can point me to things or can confirm that this is the way to go. All tests are passing. Thank you for the great library and maintenance btw!

maxcountryman commented 4 months ago

Thanks for this!

We aren't adding more stores to this repo but we very much do want folks to publish their own stores as crates (for example, here's a DynamoDB store). When you do, please add it to the list of stores on the tower-sessions repo.

patte commented 4 months ago

I did that. Thank you again ✌️