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

Serialization support #1

Open
demurgos opened this issue Feb 9, 2018 · 2 comments
Open

Serialization support #1

demurgos opened this issue Feb 9, 2018 · 2 comments

Comments

@demurgos
Copy link

demurgos commented Feb 9, 2018

Hi,
Your library is one of the first results when looking for Protobuf support with Serde. I see on your README that serialization is not supported yet: could you provide some info about this?
Do you confirm that this is not a technical issue but more a lack of time to work on this? Or are there some technical issues? Is the library still actively maintained or is it better to not wait for serialization support?

I'd like to use protobuf as the communication format between Javascript and and a Wasm module compiled from Rust. This is not a high-priority project and there are other possible formats so this issue is more about getting some information. Thanks.

@dflemstr
Copy link
Owner

It's definitely possible to implement, I just haven't gotten around to it. Note that this library uses dynamic descriptor parsing, so you feed it a FileDescriptorSet rather than using generated code. I would recommend using https://github.com/danburkert/prost if you want to get nice generated classes in the style of serde.

@demurgos
Copy link
Author

demurgos commented Feb 10, 2018 via email

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

2 participants