Crates.io | typed-session-axum |
lib.rs | typed-session-axum |
version | 0.3.0 |
source | src |
created_at | 2023-02-26 09:11:04.868303 |
updated_at | 2023-12-03 09:08:59.496494 |
description | Cookie-based sessions for Axum via typed-session |
homepage | https://github.com/ISibboI/typed-session-axum |
repository | https://github.com/ISibboI/typed-session-axum |
max_upload_size | |
id | 794927 |
size | 60,676 |
API documentation: docs.rs
A session manager for axum with focus on efficiency and usability. It was designed to live up to the session security standards published by the OWASP® Foundation's. Compared to existing art, this crate abstracts over the concrete type used to store session data, allowing to model session states in a type-safe way to unlock the full power of Rust for session management.
We have designed and implemented the crate with security in mind.
Our design fulfils the requirements stated in The OWASP® Foundation's cheat sheet on session management.
We additionally hash the session ids using the fast and secure hash function blake3 before storing them.
To mitigate exploitable bugs we use #![forbid(unsafe_code)]
to ensure everything is implemented in 100% safe Rust.
For further details, refer to the crate-level documentation.
So far, this crate has not been reviewed for security. If you have the necessary skills and wish to contribute to an open source project, please get in touch.
Want to join us? Check out our "Contributing" guide and take a look at some of these issues:
Any contribution you intentionally submit for inclusion in the work shall be licensed under the BSD-2-Clause license.
This work is based on the crate axum-sessions by Max Countryman.
This crate is licensed under the BSD-2-Clause license.