mirror of https://github.com/rwf2/Rocket.git
4eaf9ba9c5
* 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. |
||
---|---|---|
.. | ||
config | ||
content_types | ||
cookies | ||
errors | ||
extended_validation | ||
form_kitchen_sink | ||
forms | ||
from_request | ||
handlebars_templates | ||
hello_alt_methods | ||
hello_person | ||
hello_ranks | ||
hello_world | ||
json | ||
manual_routes | ||
optional_redirect | ||
optional_result | ||
pastebin | ||
query_params | ||
raw_upload | ||
redirect | ||
state | ||
static_files | ||
stream | ||
testing | ||
todo | ||
uuid |