-
Notifications
You must be signed in to change notification settings - Fork 3
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
"Official Orphans" #7
Comments
I just noticed that withoutboats thinks mutually exclusive traits are part of the solution (or at least he did back in 2016). That seems significant. |
This comment has been minimized.
This comment has been minimized.
|
I've got two features in the js_int crate, |
I've got two use cases from my projects: speedy + glam and chrono / index_vec + bitcode. The latter one currently has some escape hatch (where bitcode just allows deferring to serde), but the former one is really annoying as glam is being used all over the project and new typing it is just a very big deal (currently using git subtree on glam instead). |
Sometimes, there's an
impl
that probably should exist, and client code probably should not have to provide it via a newtype, but neither the type's crate or the trait's crate is a good home for it. But we still want there to be a single, quasi-"official" home for these impls. As far as I know, Rust has no good answer for this case today.This issue is for gathering examples of such use cases, and possibly discussing what a targeted solution for it might look like.
The only example I'm currently aware of is a hypothetical
diesel-chrono
crate.The text was updated successfully, but these errors were encountered: