Rocket/core/lib/src
Sergio Benitez 52320020bc Use thread-safe 'CookieJar's.
The user-facing changes effected by this commit are:

  * The 'http::Cookies<'_>' guard is now '&http::CookieJar<'_>'.
  * The "one-at-a-time" jar restriction is no longer imposed.
  * 'CookieJar' retrieval methods return 'http::CookieCrumb'.
  * The 'private-cookies' feature is now called 'secrets'.
  * Docs flag private cookie methods with feature cfg.
  * Local, async request dispatching is never serialized.
  * 'Client::cookies()' returns the tracked 'CookieJar'.
  * 'LocalResponse::cookies()' returns a 'CookieJar'.
  * 'Response::cookies()' returns an 'impl Iterator'.
  * A path of '/' is set by default on all cookies.
  * 'SameSite=strict' is set by default on all cookies.
  * 'LocalRequest::cookies()' accepts any 'Cookie' iterator.
  * The 'Debug' impl for 'Request' prints the cookie jar.

Resolves #1332.
2020-08-16 02:19:45 -07:00
..
config Use thread-safe 'CookieJar's. 2020-08-16 02:19:45 -07:00
data Require data limits on 'Data::open()'. 2020-08-06 02:46:04 -05:00
fairing Remove superfluous lifetimes in 'Fairing' methods. 2020-07-23 21:32:20 -07:00
local Use thread-safe 'CookieJar's. 2020-08-16 02:19:45 -07:00
request Use thread-safe 'CookieJar's. 2020-08-16 02:19:45 -07:00
response Use thread-safe 'CookieJar's. 2020-08-16 02:19:45 -07:00
router Add default catchers: '#[catch(default)]'. 2020-07-30 01:55:41 -07:00
catcher.rs Add default catchers: '#[catch(default)]'. 2020-07-30 01:55:41 -07:00
codegen.rs Add default catchers: '#[catch(default)]'. 2020-07-30 01:55:41 -07:00
error.rs Use thread-safe 'CookieJar's. 2020-08-16 02:19:45 -07:00
ext.rs Require data limits on 'Data::open()'. 2020-08-06 02:46:04 -05:00
handler.rs Add default catchers: '#[catch(default)]'. 2020-07-30 01:55:41 -07:00
lib.rs Use thread-safe 'CookieJar's. 2020-08-16 02:19:45 -07:00
logger.rs Convert core to async and add support for async routes. 2020-07-11 09:24:28 -07:00
outcome.rs Add default catchers: '#[catch(default)]'. 2020-07-30 01:55:41 -07:00
rocket.rs Use thread-safe 'CookieJar's. 2020-08-16 02:19:45 -07:00
shutdown.rs Don't use managed state to thread 'Shutdown'. 2020-07-22 19:22:32 -07:00