-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Portuguese and DynamicFormatter #23
Conversation
Does this bump MSRV? Currently it's |
Just bumped the MSRV. |
Published 0.2.2 with the new language, but without other changes. Are you use the remaining changes are semver-compatible? Maybe they need |
The |
Is it public? Maybe
What's wrong with just Cloning can be supplemented with just a minor change. |
Thanks, I didn't know it could use a |
Pushed to master a version with Is this OK for you? |
Using the current GitHub version gives this error: struct S {
// the trait bound `std::boxed::Box<(dyn timeago::Language + 'static)>: timeago::Language` is not satisfied
// the following implementations were found:
// <std::boxed::Box<(dyn timeago::Language + Send + Sync + 'static)> as timeago::Language>
_current_timeago_formatter: Option<Rc<timeago::Formatter<Box<dyn timeago::Language>>>>,
} It'd be complicated to add |
Is the code you are trying to build public, so that I can try to adapt it myself? Do you use newly created type alias Do you have your own implementations of the |
Using |
Can you publish it again? Seems like it'll be backwards-compatible. |
Was is a safe trait? I don't remember using any |
I meant safe according to this Rust error. |
The correct term is "object safe". There is also |
Published v0.3.0 |
Thanks! |
This adds Português-BR (I'm native speaker). I'm grateful if you could publish it on crates.io.
I just added a DynamicFormatter too, which uses runtime Language. Now, Formatter wraps a DynamicFormatter.