Rocket/core/codegen/tests
Sergio Benitez 03127f4dae Add blocking variant of 'local'.
This commit adds the 'local::blocking' module and moves the existing
asynchronous testing to 'local::asynchronous'. It also includes several
changes to improve the local API, bringing it to parity (and beyond)
with master. These changes are:

  * 'LocalRequest' implements 'Clone'.
  * 'LocalResponse' doesn't implement 'DerefMut<Target=Response>'.
    Instead, direct methods on the type, such as 'into_string()', can
    be used to read the 'Response'.
  * 'Response::body()' returns an '&ResponseBody' as opposed to '&mut
    ResponseBody', which is returned by a new 'Response::body_mut()'.
  * '&ResponseBody' implements 'known_size()` to retrieve a body's size,
    if it is known.

Co-authored-by: Jeb Rosen <jeb@jebrosen.com>
2020-07-11 09:24:30 -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 Add blocking variant of 'local'. 2020-07-11 09:24:30 -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 Add blocking variant of 'local'. 2020-07-11 09:24:30 -07:00
route-data.rs Add blocking variant of 'local'. 2020-07-11 09:24:30 -07:00
route-format.rs Add blocking variant of 'local'. 2020-07-11 09:24:30 -07:00
route-params.rs Rename 'codegen_next' to 'codegen'. 2018-10-22 00:01:41 -07:00
route-ranking.rs Add blocking variant of 'local'. 2020-07-11 09:24:30 -07:00
route.rs Add blocking variant of 'local'. 2020-07-11 09:24:30 -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