Giter Club home page Giter Club logo

tower-sessions-rusqlite-store's Introduction

tower-sessions-rusqlite-store

(tokio-)rusqlite session store for tower-sessions.

tests crates.io codecov

Overview

This is a SessionStore for the tower-sessions middleware which uses tokio-rusqlite for handling SQLite databases.

It is directly based on the sqlx-store and uses the same folder structure as tower-session-stores for easy maintenance.

All contributions are welcome!

๐Ÿคธ Usage

Check out the counter example. Run it with cargo run --example counter.

๐Ÿงช Tests

This crate is covered by integration- and unit-tests. The integration tests are copied from tower-session-stores and kept in the tests create. They can be run with cargo nextest run rusqlite_store_tests --test test_integration.

The unit tests are copied from maxcountryman/tower-sessions/memory-store and located directly in src/lib.rs. They can be run with cargo nextest run rusqlite_store_tests -p tower-sessions-rusqlite-store.

Run all tests with: cargo nextest run rusqlite_store_tests.

๐Ÿฆบ Disclaimer

This is an unofficial fork of the original tower-sessions-stores. I'm relatively new to Rust and might have made stupid mistakes.

๐Ÿ™ Credits

Most credits go to the original authors of tower-sessions-stores and tower-sessions.

tower-sessions-rusqlite-store's People

Contributors

dependabot[bot] avatar patte avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.