mirror of https://github.com/rwf2/Rocket.git
adc79016cd
This commits makes the following high-level changes: * 'ShutdownHandle' is renamed to 'Shutdown'. * 'Rocket::shutdown_handle()' is renamed to 'Rocket::shutdown()'. * '#[launch]` is preferred to '#[rocket::launch]'. * Various docs phrasings are improved. * Fixed various broken links in docs. This commits rearranges top-level exports as follows: * 'shutdown' module is no longer exported. * 'Shutdown' is exported from the crate root. * 'Outcome' is not longer exported from the root. * 'Handler', 'ErrorHandler' are no longer exported from the root. |
||
---|---|---|
.. | ||
db | ||
migrations | ||
src | ||
static | ||
Cargo.toml | ||
README.md | ||
Rocket.toml |
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