An open API service indexing awesome lists of open source software.

https://github.com/http-rs/async-session

Async session support with plugabble backends
https://github.com/http-rs/async-session

Last synced: about 1 year ago
JSON representation

Async session support with plugabble backends

Awesome Lists containing this project

README

          

async-session




Async session support with pluggable middleware





Crates.io version



Download



docs.rs docs




API Docs

|

Releases

|

Contributing


## Available session stores

* [async-sqlx-session](https://crates.io/crates/async-sqlx-session) postgres, mysql & sqlite
* [async-redis-session](https://crates.io/crates/async-redis-session)
* [async-mongodb-session](https://crates.io/crates/async-mongodb-session)
* [async-session-r2d2](https://crates.io/crates/async-session-r2d2) - sqlite only

## Framework implementations

* [`tide::sessions`](https://docs.rs/tide/latest/tide/sessions/index.html)
* [warp-sessions](https://docs.rs/warp-sessions/latest/warp_sessions/)
* [trillium-sessions](https://docs.trillium.rs/trillium_sessions)
* [axum-sessions](https://docs.rs/axum_sessions)
* [salvo-sessions](https://docs.rs/salvo_extra/latest/salvo_extra/session/index.html)

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

## Contributing
Want to join us? Check out our ["Contributing" guide][contributing] and take a
look at some of these issues:

- [Issues labeled "good first issue"][good-first-issue]
- [Issues labeled "help wanted"][help-wanted]

[contributing]: https://github.com/http-rs/async-session/blob/main/.github/CONTRIBUTING.md
[good-first-issue]: https://github.com/http-rs/async-session/labels/good%20first%20issue
[help-wanted]: https://github.com/http-rs/async-session/labels/help%20wanted

## Acknowledgements

This work is based on the work initiated by
[@chrisdickinson](https://github.com/chrisdickinson) in
[tide#266](https://github.com/http-rs/tide/pull/266).

## 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.