Open Kixunil opened 2 years ago
pretty annoying, but you can add derive
s to the tonic structs in the build.rs file, like this https://github.com/Evanfeenstra/tonic_lnd/blob/add-serde/build.rs#L35
I meant replacing the types. But I have an idea how to abuse the feature you mentioned to swap the types. I might try it, but I don't expect to have time soon. Thanks anyway!
In principle it should be possible although it may require contributing to
prost
.