Rocket/examples
Sergio Benitez 2f35b23514 Remove non-streaming requests. Use streaming requests everywhere.
This commit includes the following important API changes:

  * The `form` route parameter has been removed.
  * The `data` route parameter has been added.
  * Forms are not handled via the `data` parameter and `Form` type.
  * Removed the `data` parameter from `Request`.
  * Added `FromData` conversion trate and default implementation.
  * Added `DataOutcome` enum, which is the return type of `from_data`.
  * 'FromData' is now used to automatically derive the `data` parameter.
  * Moved `form` into `request` module.
  * Removed `Failure::new` in favor of direct value construction.

This commit includes the following important package additions:

  * Added a 'raw_upload' example.
  * `manual_routes` example uses `Data` parameter.
  * Now building and running tests with `--all-features` flag.
  * All exmaples have been updated to latest API.
  * Now using upstream Tera.

This commit includes the following important fixes:

  * Any valid ident is now allowed in single-parameter route parameters.
  * Lifetimes are now properly stripped in code generation.
  * `FromForm` derive now works on empty structs.
2016-10-12 00:14:42 -07:00
..
config Use move builder pattern to launch Rocket apps. 2016-10-03 19:48:33 -07:00
content_types Updates for latest nightly. Use Tera from main branch. 2016-10-08 19:27:33 -07:00
cookies Remove non-streaming requests. Use streaming requests everywhere. 2016-10-12 00:14:42 -07:00
errors Make the `uri` parameter in Request private. 2016-10-06 00:08:00 -07:00
extended_validation Remove non-streaming requests. Use streaming requests everywhere. 2016-10-12 00:14:42 -07:00
form_kitchen_sink Remove non-streaming requests. Use streaming requests everywhere. 2016-10-12 00:14:42 -07:00
forms Remove non-streaming requests. Use streaming requests everywhere. 2016-10-12 00:14:42 -07:00
from_request Completely new raw API. 2016-10-07 23:20:49 -07:00
handlebars_templates Updates for latest nightly. Use Tera from main branch. 2016-10-08 19:27:33 -07:00
hello_alt_methods Implement streaming requests. 2016-10-09 04:29:02 -07:00
hello_person Use move builder pattern to launch Rocket apps. 2016-10-03 19:48:33 -07:00
hello_ranks Use move builder pattern to launch Rocket apps. 2016-10-03 19:48:33 -07:00
hello_world Use move builder pattern to launch Rocket apps. 2016-10-03 19:48:33 -07:00
json Remove non-streaming requests. Use streaming requests everywhere. 2016-10-12 00:14:42 -07:00
manual_routes Remove non-streaming requests. Use streaming requests everywhere. 2016-10-12 00:14:42 -07:00
optional_redirect Use move builder pattern to launch Rocket apps. 2016-10-03 19:48:33 -07:00
optional_result Use move builder pattern to launch Rocket apps. 2016-10-03 19:48:33 -07:00
query_params Use move builder pattern to launch Rocket apps. 2016-10-03 19:48:33 -07:00
raw_upload Remove non-streaming requests. Use streaming requests everywhere. 2016-10-12 00:14:42 -07:00
redirect Use move builder pattern to launch Rocket apps. 2016-10-03 19:48:33 -07:00
static_files Use move builder pattern to launch Rocket apps. 2016-10-03 19:48:33 -07:00
stream Use move builder pattern to launch Rocket apps. 2016-10-03 19:48:33 -07:00
testing Use move builder pattern to launch Rocket apps. 2016-10-03 19:48:33 -07:00
todo Remove non-streaming requests. Use streaming requests everywhere. 2016-10-12 00:14:42 -07:00