#session #r2d2 #session-store #session-management

async-session-r2d2

Provides session management using r2d2 for async-session

4 releases

0.1.3 Aug 1, 2022
0.1.2 Jul 25, 2022
0.1.1 May 23, 2022
0.1.0 Dec 1, 2021

#9 in #session-store

MIT/Apache

18KB
356 lines

async-session-r2d2

A session store for async-session backed by any of the underlying implementations supported by r2d2.

A lot of the logic here was insipred by the sqlx implementation in async-session-sqlx.

Contributions welcome to other implementations!

Installation

Add the following line to your Cargo.toml:

[dependencies.async-session-r2d2]
version = "0.1"
features = ["with-rusqlite"]

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~5–16MB
~206K SLoC