Rocket/examples/cookies
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 Use handlebars so that message is escaped in cookies example. 2016-11-04 15:33:58 +01:00
Cargo.toml Migrate all examples to Rust 2018. 2019-06-25 11:30:43 -07:00