Kixunil / tonic_lnd

Rust implementation of LND RPC client using async GRPC library `tonic`
31 stars 44 forks source link

Look into direct (de)serialization of lightning types (LN-types crate) #6

Open Kixunil opened 2 years ago

Kixunil commented 2 years ago

In principle it should be possible although it may require contributing to prost.

Evanfeenstra commented 1 year ago

pretty annoying, but you can add derives to the tonic structs in the build.rs file, like this https://github.com/Evanfeenstra/tonic_lnd/blob/add-serde/build.rs#L35

Kixunil commented 1 year ago

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!