Rocket/core/codegen/tests
Sergio Benitez fa3e0334c1 Overhaul URI types, parsers, 'uri!' macro.
This commit entirely rewrites Rocket's URI parsing routines and
overhauls the 'uri!' macro resolving all known issues and removing any
potential limitations for compile-time URI creation. This commit:

  * Introduces a new 'Reference' URI variant for URI-references.
  * Modifies 'Redirect' to accept 'TryFrom<Reference>'.
  * Introduces a new 'Asterisk' URI variant for parity.
  * Allows creation of any URI type from a string literal via 'uri!'.
  * Enables dynamic/static prefixing/suffixing of route URIs in 'uri!'.
  * Unifies 'Segments' and 'QuerySegments' into one generic 'Segments'.
  * Consolidates URI formatting types/traits into a 'uri::fmt' module.
  * Makes APIs more symmetric across URI types.

It also includes the following less-relevant changes:

  * Implements 'FromParam' for a single-segment 'PathBuf'.
  * Adds 'FileName::is_safe()'.
  * No longer reparses upstream request URIs.

Resolves #842.
Resolves #853.
Resolves #998.
2021-05-19 18:47:11 -07:00
..
ui-fail Overhaul URI types, parsers, 'uri!' macro. 2021-05-19 18:47:11 -07:00
ui-fail-nightly Overhaul URI types, parsers, 'uri!' macro. 2021-05-19 18:47:11 -07:00
ui-fail-stable Overhaul URI types, parsers, 'uri!' macro. 2021-05-19 18:47:11 -07:00
async-entry.rs Introduce statically-enforced 'Rocket' phasing. 2021-04-13 19:26:45 -07:00
async-routes.rs
expansion.rs Retrieve managed state via a borrow: '&State<T>'. 2021-05-11 08:58:16 -05:00
from_form.rs
from_form_field.rs
responder.rs Remove unused reason phrase in 'Status'. 2021-04-28 21:26:41 -07:00
route-data.rs
route-format.rs
route-ranking.rs
route-raw.rs Overhaul URI types, parsers, 'uri!' macro. 2021-05-19 18:47:11 -07:00
route.rs Overhaul URI types, parsers, 'uri!' macro. 2021-05-19 18:47:11 -07:00
segment-ignore.rs
typed-uris.rs Overhaul URI types, parsers, 'uri!' macro. 2021-05-19 18:47:11 -07:00
ui-fail.rs
uri_display.rs Overhaul URI types, parsers, 'uri!' macro. 2021-05-19 18:47:11 -07:00