The fluent API is currently very allocation-intensive. It could be possible to reduce allocations by e.g. changing the arguments of
HashMap<&'a str, FluentValue> to something like
&'a [&'a str, FluentValue<'a>], and letting
FluentValue store references instead of owned strings.