Rocket/core/codegen/tests
Sergio Benitez 2893ce754d Introduce scoped catchers.
Catchers can now be scoped to paths, with preference given to the
longest-prefix, then the status code. This a breaking change for all
applications that register catchers:

  * `Rocket::register()` takes a base path to scope catchers under.
    - The previous behavior is recovered with `::register("/", ...)`.
  * Catchers now fallibly, instead of silently, collide.
  * `ErrorKind::Collision` is now `ErrorKind::Collisions`.

Related changes:

  * `Origin` implements `TryFrom<String>`, `TryFrom<&str>`.
  * All URI variants implement `TryFrom<Uri>`.
  * Added `Segments::prefix_of()`.
  * `Rocket::mount()` takes a  `TryInto<Origin<'_>>` instead of `&str`
    for the base mount point.
  * Extended `errors` example with scoped catchers.
  * Added scoped sections to catchers guide.

Internal changes:

  * Moved router code to `router/router.rs`.
2021-03-28 13:57:33 -07:00
..
ui-fail Allow multiple and uncased field renamings. 2021-03-05 18:09:12 -08:00
ui-fail-nightly Remove second lifetime from 'FromRequest'. 2021-03-14 19:57:59 -07:00
ui-fail-stable Remove second lifetime from 'FromRequest'. 2021-03-14 19:57:59 -07:00
async-entry.rs Allow return type of '#[launch]' fn to be elided. 2020-10-12 22:32:02 -07:00
async-routes.rs Remove use of stable 'proc_macro_hygiene' feature. 2020-07-11 10:48:08 -07:00
expansion.rs Test 'secret_key' validation, now on pre-launch. 2021-03-09 21:57:26 -08:00
from_form.rs Parse inner form 'T' in 'Option<T>' strictly. 2021-03-24 19:53:13 -07:00
from_form_field.rs UTF-8 routes. Forms revamp. Temp files. Capped. 2021-03-04 01:51:21 -08:00
responder.rs Test 'secret_key' validation, now on pre-launch. 2021-03-09 21:57:26 -08:00
route-data.rs Test 'secret_key' validation, now on pre-launch. 2021-03-09 21:57:26 -08:00
route-format.rs Test 'secret_key' validation, now on pre-launch. 2021-03-09 21:57:26 -08:00
route-ranking.rs Introduce scoped catchers. 2021-03-28 13:57:33 -07:00
route-raw.rs Introduce scoped catchers. 2021-03-28 13:57:33 -07:00
route.rs Test 'secret_key' validation, now on pre-launch. 2021-03-09 21:57:26 -08:00
segment-ignore.rs Test 'secret_key' validation, now on pre-launch. 2021-03-09 21:57:26 -08:00
typed-uris.rs Revamp codegen, fixing inconscpicuous bugs. 2021-03-04 02:01:25 -08:00
ui-fail.rs Implement codegen testing on stable. 2020-07-21 15:11:07 -07:00
uri_display.rs UTF-8 routes. Forms revamp. Temp files. Capped. 2021-03-04 01:51:21 -08:00