Rocket/core/codegen/tests
Sergio Benitez 45b4436ed3 Add default catchers: '#[catch(default)]'.
The bulk of the changes in this commit are for creating an
'ErrorHandler' trait that works like the 'Handler' trait, but for
errors. Furthermore, Rocket's default catcher now responds with a JSON
payload if the preferred 'Accept' media type is JSON.

This commit also fixes a bug in 'LocalRequest' where the internal
'Request' contained an correct 'URI'.
2020-07-30 01:55:41 -07:00
..
ui-fail Rearrange top-level exports. Use '#[launch]'. 2020-07-22 16:10:02 -07:00
ui-fail-nightly Add default catchers: '#[catch(default)]'. 2020-07-30 01:55:41 -07:00
ui-fail-stable Add default catchers: '#[catch(default)]'. 2020-07-30 01:55:41 -07:00
async-entry.rs Add '#[rocket::launch]' attribute. 2020-07-11 09:24:29 -07:00
async-routes.rs Remove use of stable 'proc_macro_hygiene' feature. 2020-07-11 10:48:08 -07:00
expansion.rs Remove use of stable 'proc_macro_hygiene' feature. 2020-07-11 10:48:08 -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 Remove use of stable 'proc_macro_hygiene' feature. 2020-07-11 10:48:08 -07:00
route-data.rs Rearrange top-level exports. Use '#[launch]'. 2020-07-22 16:10:02 -07:00
route-format.rs Remove use of stable 'proc_macro_hygiene' feature. 2020-07-11 10:48:08 -07:00
route-params.rs Rename 'codegen_next' to 'codegen'. 2018-10-22 00:01:41 -07:00
route-ranking.rs Remove use of stable 'proc_macro_hygiene' feature. 2020-07-11 10:48:08 -07:00
route.rs Rearrange top-level exports. Use '#[launch]'. 2020-07-22 16:10:02 -07:00
typed-uris.rs Remove use of stable 'proc_macro_hygiene' feature. 2020-07-11 10:48:08 -07:00
ui-fail.rs Implement codegen testing on stable. 2020-07-21 15:11:07 -07:00
uri_display.rs Remove use of stable 'proc_macro_hygiene' feature. 2020-07-11 10:48:08 -07:00