Rocket/examples/session
Sergio Benitez 5d9035ddc1 Keep an op-log for sync 'CookieJar'.
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.
2020-10-14 21:37:16 -07:00
..
src Keep an op-log for sync 'CookieJar'. 2020-10-14 21:37:16 -07:00
templates Do not display 'Error:' on a successful logout in the 'session' example. 2019-08-12 17:39:52 -07:00
Cargo.toml Use thread-safe 'CookieJar's. 2020-08-16 02:19:45 -07:00
Rocket.toml Always set 'secret_key' in session example. 2018-06-28 19:02:39 -07:00