Rocket/examples/todo
Jeb Rosen bc1b90cbdb Add '#[rocket::main]' attribute and make 'launch()' an 'async fn'.
'#[rocket::main]' works like '#[rocket::async_test]', but it uses
tokio's multithreaded scheduler.
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 Add '#[rocket::main]' attribute and make 'launch()' an 'async fn'. 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