I wish to implement the Serialize
trait on a type in an extern crate, but it's forbidden. I had a look at serde's remote derive, but it seems a lot of work rewriting the types.
In my case, all the types I wish to serialize implement the Display
trait, and for serialization, I just want to use that trait.
How would I do that?