You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 15, 2025. It is now read-only.
I need to serialize SmallVec, which doesn't know about bincode or implement Encode / Decode.
When I try this:
I get this:
error[E0117]: only traits defined in the current crate can be implemented for types defined outside of the crateThe only workaround I can find is to implement a wrapper type:
But that messes up the rest of my code. I don't want to have to refer to the contents of my arbitrary type with a ".0" prefix everywhere.
Is there a general solution to this problem?