A redis middleware for nickel.rs
Adapted almost 100% from nickel-org/nickel-postgres, using nvdelap/r2d2-redis for pooled connections.
See examples for usage.
Much of the utility of this library can be gained from using unboxed closures to capture a connection pool, this also removes the risk of accessing a connection pool in a handler attached before the middleware.
[dependencies.nickel_redis]
git = "https://github.com/matthewbentley/nickel-redis.git"
MIT