Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

serde support #61

Open
uvd opened this issue Apr 24, 2017 · 5 comments
Open

serde support #61

uvd opened this issue Apr 24, 2017 · 5 comments

Comments

@uvd
Copy link

uvd commented Apr 24, 2017

implement serde crate compatibility thx

@uvd
Copy link
Author

uvd commented Apr 24, 2017

this is very useful for tokio or other transfer layer,implement serde api https://serde.rs/

@tafia
Copy link
Owner

tafia commented Apr 24, 2017

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.

@UserAB1236872 UserAB1236872 mentioned this issue Sep 14, 2017
17 tasks
@nerdrew
Copy link
Collaborator

nerdrew commented Sep 15, 2018

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

@tafia
Copy link
Owner

tafia commented Sep 15, 2018

This is a good idea!

@kootenpv
Copy link

kootenpv commented Nov 7, 2021

I keep going in circles with rust protobuf libs for one reason or another (╯°□°)╯︵ ┻━┻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants