async-sqlx-session
sqlx-backed session store for async-session
Installation
sqlite:
= { = "0.4.0", = ["sqlite"] }
postgres:
= { = "0.4.0", = ["pg"] }
mysql:
= { = "0.4.0", = ["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.
= { = "0.4.0", = ["pg", "async_std"] }
Cargo Features:
Safety
This crate uses #![deny(unsafe_code)]
to ensure everything is implemented in
100% Safe Rust.