Rocket/core
Sergio Benitez 801e04bd53 Log guard failures, potential misuses.
This commit includes changes that improve how and what Rocket logs
automatically. Rocket now logs:

  * All guard errors, indicating the failing guard kind and type.
  * A warning when a 'TempFile' is used as a data guard for a request
    that specifies a 'form' Content-Type.
  * Only the top/sub of a request's format.

This commit makes the following breaking changes:

  * '<T as FromData>::Error' must implement 'Debug'.

Furthermore, this commit restores the previous behavior of always
logging launch info. It further restores the unspecified behavior of
modifying logging state only when the set logger is Rocket's logger.
2021-04-23 19:19:39 -07:00
..
codegen Log guard failures, potential misuses. 2021-04-23 19:19:39 -07:00
http Introduce statically-enforced 'Rocket' phasing. 2021-04-13 19:26:45 -07:00
lib Log guard failures, potential misuses. 2021-04-23 19:19:39 -07:00