Skip to content

mtbentley/nickel-redis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nickel-redis

A redis middleware for nickel.rs

Adapted almost 100% from nickel-org/nickel-postgres, using nvdelap/r2d2-redis for pooled connections.

Usage

See examples for usage.

Lib vs Unboxed closures

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.

Cargo.toml:

[dependencies.nickel_redis]
git = "https://github.com/matthewbentley/nickel-redis.git"

Licence

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 6

Languages