Rocket/examples/todo
Jeb Rosen dea940c7a8 Defer execution of operations on 'Rocket' until their effects will be
observed.

This is a prerequisite for async on_attach fairings. 'Rocket' is now a
builder wrapper around the 'Manifest' type, with operations being
applied when needed by 'launch()', 'Client::new()', or 'inspect()'.
'inspect()' returns an '&Manifest', which now provides the methods that
could be called on an '&Rocket'.
2020-07-11 09:24:29 -07:00
..
db Add file to preserve empty db directory. 2018-05-29 18:55:25 +02:00
migrations Update docs and examples for diesel 1.0.0-rc1. 2018-01-03 01:38:05 -08:00
src Defer execution of operations on 'Rocket' until their effects will be 2020-07-11 09:24:29 -07:00
static Fix tests for Windows. 2019-07-06 00:59:01 -07:00
Cargo.toml Update depedencies: 2020-01-19 11:01:11 -08:00
README.md Embed the diesel database migrations in the `todo` example. 2018-09-11 12:38:10 -07:00
Rocket.toml Implement connection pooling support in contrib. 2018-08-15 22:11:53 -07:00

README.md

Rocket Todo Example

This example makes use of a SQLite database via diesel to store todo tasks. As a result, you'll need to have sqlite3 and its headers installed:

  • OS X: brew install sqlite
  • Debian/Ubuntu: apt-get install libsqlite3-dev
  • Arch: pacman -S sqlite