Crates.io | nickel-diesel |
lib.rs | nickel-diesel |
version | 0.6.1 |
source | src |
created_at | 2016-03-06 19:09:07.29391 |
updated_at | 2022-12-30 14:00:29.997527 |
description | Nickel middleware providing a diesel ORM with r2d2 connection pooling |
homepage | |
repository | https://github.com/strawlab/nickel-diesel |
max_upload_size | |
id | 4385 |
size | 28,502 |
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.
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