Rocket/examples
Sergio Benitez 4eaf9ba9c5 Add lints to catch unmanaged state and unmounted routes.
* The `unmanaged_state` lint emits a warning when a `State<T>` request
    guard is used without an accompanying `manage` call for `T`.

  * The `unmounted_route` lint emits a warning when a route declared via
    a Rocket attribute is not mounted via a call to `mount`.

There is one known shortcoming of these lints at present: _any_ call to
`manage` or `mount` marks state/routes as managed/mounted. This can be
an issue when an application uses more than one `Rocket` instance, with
different calls to `mount` and `manage` in each. The lints should
perform their analyses on a per-instance basis.
2017-01-29 01:13:52 -08:00
..
config Add lints to catch unmanaged state and unmounted routes. 2017-01-29 01:13:52 -08:00
content_types Remove authorship from all examples. 2017-01-19 17:14:01 -08:00
cookies Update to Hyper 0.10. Use cookie crate directly. 2017-01-26 23:08:15 -08:00
errors Remove authorship from all examples. 2017-01-19 17:14:01 -08:00
extended_validation Remove authorship from all examples. 2017-01-19 17:14:01 -08:00
form_kitchen_sink Remove authorship from all examples. 2017-01-19 17:14:01 -08:00
forms Remove authorship from all examples. 2017-01-19 17:14:01 -08:00
from_request Introduce Managed State. 2017-01-20 23:17:28 -08:00
handlebars_templates Pin Hyper to 0.9.14 due to non-semver breaking change. 2017-01-26 11:11:43 -08:00
hello_alt_methods Remove authorship from all examples. 2017-01-19 17:14:01 -08:00
hello_person Remove authorship from all examples. 2017-01-19 17:14:01 -08:00
hello_ranks Remove authorship from all examples. 2017-01-19 17:14:01 -08:00
hello_world Remove authorship from all examples. 2017-01-19 17:14:01 -08:00
json Allow any Serialize type in RHS of map macro. 2017-01-26 11:56:06 -08:00
manual_routes Remove authorship from all examples. 2017-01-19 17:14:01 -08:00
optional_redirect Remove authorship from all examples. 2017-01-19 17:14:01 -08:00
optional_result Remove authorship from all examples. 2017-01-19 17:14:01 -08:00
pastebin Remove authorship from all examples. 2017-01-19 17:14:01 -08:00
query_params Remove authorship from all examples. 2017-01-19 17:14:01 -08:00
raw_upload Remove authorship from all examples. 2017-01-19 17:14:01 -08:00
redirect Remove authorship from all examples. 2017-01-19 17:14:01 -08:00
state Introduce Managed State. 2017-01-20 23:17:28 -08:00
static_files Remove authorship from all examples. 2017-01-19 17:14:01 -08:00
stream Remove authorship from all examples. 2017-01-19 17:14:01 -08:00
testing Remove authorship from all examples. 2017-01-19 17:14:01 -08:00
todo Remove authorship from all examples. 2017-01-19 17:14:01 -08:00
uuid Add example for the contrib UUID type. 2017-01-26 23:20:05 -08:00