Update `LocalizationError` in `fluent_embed`
Dependencies
- [2]
GJMBIJOEMigrate to latest env_preferences version - [3]
3NMKD6I5Refactor `Localize` trait to use `std::io::Write` - [4]
CFJKYXUXRemove newtype wrapper `RelativeTime` for `jiff::Timestamp` - [5]
7M4UI3TWUpdate dependencies to latest versions - [6]
HHJDRLLNCreate `fluent_embed_runtime` crate
Change contents
- replacement in fluent_embed/src/lib.rs at line 9
pub use icu_locale::{self, langid, LanguageIdentifier};pub use icu_locale::{self, LanguageIdentifier, langid}; - edit in fluent_embed/src/lib.rs at line 19
#[error("invalid locale selected")]InvalidLocale, - edit in fluent_embed/src/lib.rs at line 23
#[error("unable to parse localized output as a UTF-8 string. This is a bug in `fluent_embed`.")]InvalidOutput(#[from] std::string::FromUtf8Error),