6 releases (3 breaking)

0.4.0 Jun 1, 2021
0.3.0 Feb 3, 2021
0.2.1 Nov 6, 2020
0.2.0 Aug 3, 2020
0.1.1 Jul 26, 2020

#136 in Database interfaces

Download history 15/week @ 2021-07-03 17/week @ 2021-07-10 32/week @ 2021-07-17 22/week @ 2021-07-24 46/week @ 2021-07-31 19/week @ 2021-08-07 19/week @ 2021-08-14 28/week @ 2021-08-21 10/week @ 2021-08-28 8/week @ 2021-09-04 27/week @ 2021-09-11 11/week @ 2021-09-18 12/week @ 2021-09-25 9/week @ 2021-10-02 6/week @ 2021-10-09 8/week @ 2021-10-16

127 downloads per month

MIT/Apache

62KB
871 lines

async-sqlx-session

sqlx-backed session store for async-session

Installation

sqlite:

async-sqlx-session = { version = "0.4.0", features = ["sqlite"] }

postgres:

async-sqlx-session = { version = "0.4.0", features = ["pg"] }

mysql:

async-sqlx-session = { version = "0.4.0", features = ["mysql"] }

Optional async_std feature

To use the spawn_cleanup_task function on the async-std runtime, enable the async_std feature, which can be combined with any of the above datastores.

async-sqlx-session = { version = "0.4.0", features = ["pg", "async_std"] }

Cargo Features:

Safety

This crate uses #![deny(unsafe_code)] to ensure everything is implemented in 100% Safe Rust.

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

~12–19MB
~419K SLoC

`