1 unstable release
Uses old Rust 2015
0.6.6 | May 4, 2018 |
---|
#5 in #cookie
15KB
292 lines
iron-sessionstorage ![Build Status](https://img.gs/czjpqfbdkz/full/https://travis-ci.org/iron/iron-sessionstorage.svg?branch=master)
Session middleware for Iron, allows you to store data in a simple type-to-string map for each user.
See examples for usage.
Backends
You can use one of the included backends for data storage or roll your own:
-
A cookie-based backend is available by default. You will need to provide a key with which values will be signed.
-
A redis backend can be enabled using the
redis-backend
feature.
License
Licensed under the MIT, see LICENSE
.
Dependencies
~7–13MB
~191K SLoC