fluent-rs
fluent-rs copied to clipboard
Reexport common types like IntlLangMemoizer and LanguageIdentifier
It's slightly annoying to have to depend on third-party crates just to be able to interact with fluent-rs itself.
So far in my journey of exploring fluent, I have to depend on intl-memoizer to be able to spell out the fluent::bundle::FluentBundle<fluent::FluentResource, intl_memoizer::concurrent::IntlLangMemoizer> type. Though I was able to work around depending on unic_langid by creating a LanguageIdentifier via .parse() instead
Seems reasonable enough to me to export the IntlLangMemoizer since it's part of this repo. I'm less sure of the LanguageIdentifier, especially since you can opt into macro usage.