projectfluent / fluent-rs

Rust implementation of Project Fluent
https://projectfluent.org
Apache License 2.0
1.08k stars 97 forks source link

Intl Memoizer #149

Closed zbraniecki closed 4 years ago

zbraniecki commented 4 years ago

Similarly to the JS API, we need to be able to use Intl API instances from FluentBundle either by owning some form of intl memoizer, or by borrowing it.

I assume we'll do similar thing to what we do with Borrow<FluentResource> type, either creating FluentBundle that owns its memoizer, or borrows it.