Rocket/examples
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 Remove use of stable 'proc_macro_hygiene' feature. 2020-07-11 10:48:08 -07:00
content_types Require data limits on 'Data::open()'. 2020-08-06 02:46:04 -05:00
cookies Use thread-safe 'CookieJar's. 2020-08-16 02:19:45 -07:00
errors Add default catchers: '#[catch(default)]'. 2020-07-30 01:55:41 -07:00
fairings Remove superfluous lifetimes in 'Fairing' methods. 2020-07-23 21:32:20 -07:00
form_kitchen_sink Add 'serve::crate_relative!' for relative paths. 2020-07-23 20:12:17 -07:00
form_validation Add 'serve::crate_relative!' for relative paths. 2020-07-23 20:12:17 -07:00
handlebars_templates Rearrange top-level exports. Use '#[launch]'. 2020-07-22 16:10:02 -07:00
hello_2018 Use the blocking testing API everywhere. 2020-07-11 09:24:30 -07:00
hello_person Rearrange top-level exports. Use '#[launch]'. 2020-07-22 16:10:02 -07:00
hello_world Use the blocking testing API everywhere. 2020-07-11 09:24:30 -07:00
json Rearrange top-level exports. Use '#[launch]'. 2020-07-22 16:10:02 -07:00
managed_queue Rearrange top-level exports. Use '#[launch]'. 2020-07-22 16:10:02 -07:00
manual_routes Require data limits on 'Data::open()'. 2020-08-06 02:46:04 -05:00
msgpack Rearrange top-level exports. Use '#[launch]'. 2020-07-22 16:10:02 -07:00
optional_redirect Rearrange top-level exports. Use '#[launch]'. 2020-07-22 16:10:02 -07:00
pastebin Require data limits on 'Data::open()'. 2020-08-06 02:46:04 -05:00
query_params Rearrange top-level exports. Use '#[launch]'. 2020-07-22 16:10:02 -07:00
ranking Rearrange top-level exports. Use '#[launch]'. 2020-07-22 16:10:02 -07:00
raw_sqlite Rearrange top-level exports. Use '#[launch]'. 2020-07-22 16:10:02 -07:00
raw_upload Require data limits on 'Data::open()'. 2020-08-06 02:46:04 -05:00
redirect Rearrange top-level exports. Use '#[launch]'. 2020-07-22 16:10:02 -07:00
request_guard Rearrange top-level exports. Use '#[launch]'. 2020-07-22 16:10:02 -07:00
request_local_state Rearrange top-level exports. Use '#[launch]'. 2020-07-22 16:10:02 -07:00
session Use thread-safe 'CookieJar's. 2020-08-16 02:19:45 -07:00
state Rearrange top-level exports. Use '#[launch]'. 2020-07-22 16:10:02 -07:00
static_files Add 'serve::crate_relative!' for relative paths. 2020-07-23 20:12:17 -07:00
stream Rearrange top-level exports. Use '#[launch]'. 2020-07-22 16:10:02 -07:00
tera_templates Rearrange top-level exports. Use '#[launch]'. 2020-07-22 16:10:02 -07:00
testing Remove use of stable 'proc_macro_hygiene' feature. 2020-07-11 10:48:08 -07:00
tls Rearrange top-level exports. Use '#[launch]'. 2020-07-22 16:10:02 -07:00
todo Add 'serve::crate_relative!' for relative paths. 2020-07-23 20:12:17 -07:00
uuid Rearrange top-level exports. Use '#[launch]'. 2020-07-22 16:10:02 -07:00