Rocket/contrib/dyn_templates/tests
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
..
templates Split 'rocket_contrib' into distinct crates. 2021-05-24 22:57:51 -07:00
templates.rs Use Figment's 'Value' in contrib templating. 2021-06-25 09:08:49 -07:00