nickel-diesel

Nickel middleware providing a diesel ORM with r2d2 connection pooling


Keywords
database, nickel, middleware, diesel
License
MIT

Documentation

nickel-diesel Version Status Doc

Nickel middleware providing a diesel ORM with r2d2 connection pooling

Code originally by Robert Yokota as part of the Yeoman generator for AngularJS + Nickel project. Packaged by Andrew Straw.

example

Run an example server:

cargo run --example simple_sqlite_memory

Running the server will show

Listening on http://127.0.0.1:9001
Ctrl-C to shutdown server

The server can be tested with

curl http://localhost:9001/one