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

feat(message): enable usage of the protoc-gen-prost-serde plugin #332

Merged
merged 3 commits into from
May 22, 2024

Conversation

NeoVance
Copy link
Contributor

Changes

Optionally install and use a protoc plugin that generates serde serialization implementations that follow the conventions of protobuf-JSON for Rust. This is useful for storing messages at rest, and prevents having to re-implement similar data structures or continually updating the output implementations every time message re-creates them. This is common when wishing to store messages with storage mechanisms, such as databases, or passing the data to HTTP servers which might require serialization.

Thank you in advance for any assistance you could provide. There is little if any information floating around about how to set up and work with this project as a contributor or developer, and my familiarity with the project at this point is minimal, so honestly these changes are completely un-tested.

@temeddix
Copy link
Member

temeddix commented May 21, 2024

Looks good :) I'll be writing the guides to the docs and testing the results later.

@temeddix temeddix merged commit df27952 into cunarist:main May 22, 2024
20 of 22 checks passed
@temeddix
Copy link
Member

temeddix commented May 22, 2024

Thank you very much for your contribution!

@NeoVance NeoVance deleted the rinf-serde-serialization-option branch May 22, 2024 16:34
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

Successfully merging this pull request may close these issues.

2 participants