Rocket/examples/config
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
..
src Add lints to catch unmanaged state and unmounted routes. 2017-01-29 01:13:52 -08:00
tests Fix config example tests for new Config structure. 2017-01-12 02:47:25 -08:00
Cargo.toml Remove authorship from all examples. 2017-01-19 17:14:01 -08:00
Rocket.toml Add workers config parameter. 2017-01-12 02:38:14 -08:00