#postgresql #nickel #web

nickel_postgres

Postgres middleware for nickel.rs

2 unstable releases

Uses old Rust 2015

0.2.0 Jun 3, 2016
0.1.0 Feb 29, 2016

#9 in #nickel

22 downloads per month

MIT license

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
~223K SLoC