pub fn transform_with_warnings(
rule: &RuleFile,
input: &str,
context: Option<&Value>,
) -> Result<(Value, Vec<TransformWarning>), TransformError>pub fn transform_with_warnings(
rule: &RuleFile,
input: &str,
context: Option<&Value>,
) -> Result<(Value, Vec<TransformWarning>), TransformError>