Rocket/core/lib/tests
Sergio Benitez 2465e2f136 Make 'Responder' trait sync; fix its lifetimes.
In summary, this commit modifies 'Responder' so that:

  * ..it is no longer 'async'. To accommodate, the 'sized_body' methods
    in 'Response' and 'ResponseBuilder' are no longer 'async' and accept
    an optional size directly. If none is supplied, Rocket will attempt
    to compute the size, by seeking, before writing out the response.
    The 'Body' type was also changed to differentiate between its sized
    'Seek' and chunked body variants.

  * ..'&Request' gains a lifetime: 'r, and the returned 'Response' is
    parameterized by a new 'o: 'r. This allows responders to return
    references from the request or those that live longer.
2020-07-11 09:24:29 -07:00
..
absolute-uris-okay-issue-443.rs Make 'Fairing::on_attach()' async. 2020-07-11 09:24:29 -07:00
catcher-cookies-1213.rs Allow implementations of on_request fairings to return a Future that borrows from self, request, and data. 2020-07-11 09:24:29 -07:00
conditionally-set-server-header-996.rs Make 'Fairing::on_attach()' async. 2020-07-11 09:24:29 -07:00
derive-reexports.rs Make 'Fairing::on_attach()' async. 2020-07-11 09:24:29 -07:00
fairing_before_head_strip-issue-546.rs Make 'Fairing::on_attach()' async. 2020-07-11 09:24:29 -07:00
flash-lazy-removes-issue-466.rs Make 'Fairing::on_attach()' async. 2020-07-11 09:24:29 -07:00
form_method-issue-45.rs Make 'Fairing::on_attach()' async. 2020-07-11 09:24:29 -07:00
form_value_decoding-issue-82.rs Make 'Fairing::on_attach()' async. 2020-07-11 09:24:29 -07:00
head_handling.rs Make 'Responder' trait sync; fix its lifetimes. 2020-07-11 09:24:29 -07:00
limits.rs Make 'Fairing::on_attach()' async. 2020-07-11 09:24:29 -07:00
local-request-content-type-issue-505.rs Remove extraneous dependency on 'futures-util'. 2020-07-11 09:24:29 -07:00
local_request_private_cookie-issue-368.rs Make 'Fairing::on_attach()' async. 2020-07-11 09:24:29 -07:00
mount_point.rs Migrate core to Rust 2018. 2019-06-25 13:45:23 -04:00
nested-fairing-attaches.rs Make 'Fairing::on_attach()' async. 2020-07-11 09:24:29 -07:00
precise-content-type-matching.rs Make 'Fairing::on_attach()' async. 2020-07-11 09:24:29 -07:00
redirect_from_catcher-issue-113.rs Make 'Fairing::on_attach()' async. 2020-07-11 09:24:29 -07:00
responder_lifetime-issue-345.rs Make 'Responder' trait sync; fix its lifetimes. 2020-07-11 09:24:29 -07:00
route_guard.rs Make 'Fairing::on_attach()' async. 2020-07-11 09:24:29 -07:00
segments-issues-41-86.rs Make 'Fairing::on_attach()' async. 2020-07-11 09:24:29 -07:00
strict_and_lenient_forms.rs Make 'Fairing::on_attach()' async. 2020-07-11 09:24:29 -07:00
twice_managed_state.rs Add a test verifying that attempting to manage the same state type twice panics. 2020-07-11 09:24:29 -07:00
unsound-local-request-1312.rs Disable some known-failing tests for now. 2020-07-11 09:24:28 -07:00
uri-percent-encoding-issue-808.rs Make 'Fairing::on_attach()' async. 2020-07-11 09:24:29 -07:00