Rocket/contrib/dyn_templates/src
Sergio Benitez 0b2fcb9f4b Use Figment's 'Value' in contrib templating.
Previously, 'serde_json::Value' was used to store the serialized
template context. This value does not represent all of serde's data
model. This means we may fail to serialize a valid Rust value into it,
for instance, 128-bit integers. This is reduced with Figment's 'Value',
which supports the majority if not all of the serde data model.

At present, all supported templating engines use 'serde_json::Value', so
in practice, this commit has no effect but to reduce local dependencies
and provide better error messages for bad contexts.
2021-06-25 09:08:49 -07:00
..
context.rs Split 'rocket_contrib' into distinct crates. 2021-05-24 22:57:51 -07:00
engine.rs Use Figment's 'Value' in contrib templating. 2021-06-25 09:08:49 -07:00
fairing.rs Drop 'Data' after sending a response, not before. 2021-06-08 13:26:16 -07:00
handlebars_templates.rs Use Figment's 'Value' in contrib templating. 2021-06-25 09:08:49 -07:00
lib.rs Use Figment's 'Value' in contrib templating. 2021-06-25 09:08:49 -07:00
metadata.rs Split 'rocket_contrib' into distinct crates. 2021-05-24 22:57:51 -07:00
tera_templates.rs Use Figment's 'Value' in contrib templating. 2021-06-25 09:08:49 -07:00