nickel-diesel

Crates.ionickel-diesel
lib.rsnickel-diesel
version0.6.1
sourcesrc
created_at2016-03-06 19:09:07.29391
updated_at2022-12-30 14:00:29.997527
descriptionNickel middleware providing a diesel ORM with r2d2 connection pooling
homepage
repositoryhttps://github.com/strawlab/nickel-diesel
max_upload_size
id4385
size28,502
Andrew Straw (astraw)

documentation

https://docs.rs/nickel-diesel

README

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
Commit count: 50

cargo fmt