2 unstable releases
Uses old Rust 2015
0.2.0 | Jun 3, 2016 |
---|---|
0.1.0 | Feb 29, 2016 |
#11 in #nickel
4KB
nickel-postgres
A postgres middleware for nickel.rs
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_postgres]
git = "https://github.com/nickel-org/nickel-postgres.git"
Licence
MIT
Dependencies
~10MB
~208K SLoC