Rocket/contrib/src
messense 6b608797a2 Eagerly read JSON data for deserialization.
Issue #547 identified a performance issue when serde's 'from_reader' is
used to deserialize incoming data. Using 'from_str' resolves the issue.
This commit swaps a use of 'from_reader' in favor of 'from_str' in
rocket_contrib's 'Json' implementation.

Additionally, this commit ensures that un-deserialized JSON data is
discarded as long as it is within the JSON data limit.

Closes #562.
2018-02-25 19:47:53 -08:00
..
templates Emit all error messages from Tera on init failure. 2017-08-02 16:58:55 -07:00
json.rs Eagerly read JSON data for deserialization. 2018-02-25 19:47:53 -08:00
lib.rs Use correct rustdoc 'html_root_url'. 2017-12-14 18:45:23 +07:00
msgpack.rs Remove config global state. Use Responder::respond_to. 2017-05-19 03:29:08 -07:00
uuid.rs Use the `RawStr` type for raw parameter strings. 2017-03-31 00:18:58 -07:00