Rocket/core/codegen/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
..
ui-fail Add '#[rocket::launch]' attribute. 2020-07-11 09:24:29 -07:00
async-entry.rs Add '#[rocket::launch]' attribute. 2020-07-11 09:24:29 -07:00
async-routes.rs Use 'async_trait' for 'Fairing' trait. 2020-07-11 09:24:29 -07:00
compile-test.rs Revamp testing system for async. 2020-07-11 09:24:28 -07:00
expansion.rs Make 'Fairing::on_attach()' async. 2020-07-11 09:24:29 -07:00
from_form.rs Migrate codegen to Rust 2018. 2019-06-25 13:45:27 -04:00
from_form_value.rs Migrate codegen to Rust 2018. 2019-06-25 13:45:27 -04:00
responder.rs Make 'Responder' trait sync; fix its lifetimes. 2020-07-11 09:24:29 -07:00
route-data.rs Make 'Fairing::on_attach()' async. 2020-07-11 09:24:29 -07:00
route-format.rs Make 'Fairing::on_attach()' async. 2020-07-11 09:24:29 -07:00
route-params.rs Rename 'codegen_next' to 'codegen'. 2018-10-22 00:01:41 -07:00
route-ranking.rs Make 'Fairing::on_attach()' async. 2020-07-11 09:24:29 -07:00
route.rs Make 'Fairing::on_attach()' async. 2020-07-11 09:24:29 -07:00
typed-uris.rs Remove stabilized 'async_await' feature gate and update the minimum nightly version. 2020-07-11 09:24:28 -07:00
uri_display.rs Remove stabilized 'async_await' feature gate and update the minimum nightly version. 2020-07-11 09:24:28 -07:00