Rocket/examples/todo
Sergio Benitez 5a4e66ec43 Split 'rocket_contrib' into distinct crates.
This follows the completed graduation of stable contrib features into
core, removing 'rocket_contrib' in its entirety in favor of two new
crates. These crates are versioned independently of Rocket's core
libraries, allowing upgrades to dependencies without consideration for
versions in core libraries.

'rocket_dyn_templates' replaces the contrib 'templates' features. While
largely a 1-to-1 copy, it makes the following changes:

  * the 'tera_templates' feature is now 'tera'
  * the 'handlebars_templates' feature is now 'handlebars'
  * fails to compile if neither 'tera' nor 'handlebars' is enabled

'rocket_sync_db_pools' replaces the contrib 'database' features. It
makes no changes to the replaced features except that the `database`
attribute is properly documented at the crate root.
2021-05-24 22:57:51 -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 Split 'rocket_contrib' into distinct crates. 2021-05-24 22:57:51 -07:00
static Update various dead hyperlinks; change some links from http to https. 2021-02-20 12:01:44 -08:00
Cargo.toml Split 'rocket_contrib' into distinct crates. 2021-05-24 22:57:51 -07:00
README.md Embed the diesel database migrations in the `todo` example. 2018-09-11 12:38:10 -07:00
Rocket.toml Completely revamp, redo examples. 2021-04-07 23:09:05 -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