mirror of
https://github.com/rwf2/Rocket.git
synced 2024-12-26 04:12:40 +00:00
0b2fcb9f4b
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. |
||
---|---|---|
.. | ||
context.rs | ||
engine.rs | ||
fairing.rs | ||
handlebars_templates.rs | ||
lib.rs | ||
metadata.rs | ||
tera_templates.rs |