mirror of https://github.com/rwf2/Rocket.git
5d9035ddc1
In brief, this commit: * Updates to the latest upstream 'cookie', fixing a memory leak. * Make changes to 'CookieJar' observable only through 'pending()'. * Deprecates 'Client::new()' in favor of 'Client::tracked()'. * Makes 'dispatch()' on tracked 'Client's synchronize on cookies. * Makes 'Client::untracked()' actually untracked. This commit updates to the latest 'cookie' which removes support for 'Sync' cookie jars. Instead of relying on 'cookie', this commit implements an op-log based 'CookieJar' which internally keeps track of changes. The API is such that changes are only observable through specialized '_pending()' methods. |
||
---|---|---|
.. | ||
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