actix-session 0.6.0 is out - an almost complete rewrite!
actix-session is one of the supporting crate for the actix-web framework. It provides support for sessions: a mechanism to hold state about a user across multiple requests.
actix-session 0.6.0 is an almost complete rewrite of the crate (massive changeset here).
We have made it easier to write and consume different storage backends for your session state. You have a single trait to implement - SessionStore. You just need to lay down how to perform CRUD operations against your storage of choice, the rest (cookies, request local data, etc.) is handled for you by the middleware, transparently.
We have also added a new Redis backend, based on redis-rs, with support for TLS and authentication.
Default values across the entire codebase have been reviewed: it should be safe to go to production using the default configuration.
Last but not least, the documentation is now much more thorough. It covers all methods and functions, it includes code examples as well as an introduction to the fundamentals of sessions.
Enjoy!