A postgres middleware for nickel.rs
Rust
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
src
.gitignore
.travis.yml
Cargo.toml
LICENSE
README.md

README.md

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