Module template_expansion

Module template_expansion 

Source
Expand description

Template expansion utilities (Send-safe, isolated from templating module) Template expansion utilities for request context variables

This module re-exports Send-safe template expansion from mockforge-template-expansion. The actual implementation is in a separate crate to avoid Send issues with rng().

Import directly from mockforge-template-expansion crate:

use mockforge_template_expansion::expand_templates_in_json;

Functionsยง

expand_templates_in_jsonDeprecated
Expand template variables in a JSON value recursively using request context