Open uvd opened 7 years ago
this is very useful for tokio or other transfer layer,implement serde api https://serde.rs/
This is something I'd like to work on as well. I have to re-learn serde because it's been a long time I haven't used it. Now that it has reached 1.0 this should indeed be a good time.
Again, prost's config allows you to add type attributes. That seems like it would solve this, no? They recommend you add the serde attributes to the generated structs and it seems like it would just work.
https://docs.rs/prost-build/0.3.2/prost_build/struct.Config.html#method.type_attribute
This is a good idea!
I keep going in circles with rust protobuf libs for one reason or another (╯°□°)╯︵ ┻━┻
implement serde crate compatibility thx