-
Notifications
You must be signed in to change notification settings - Fork 987
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
Migrate all protocols to use quick-protobuf-codec
#2500
Comments
Hi! I have read through this and would like to take it on. I'm still pretty new to Rust, so apologies in advance if I ask some basic questions. 😃 I see that the For this ticket, would you prefer 1 PR per package, or everything in 1 big PR? (My plan is to do 1 package in a draft PR and then have you/someone look at it to make sure I'm on the right path, and then go from there) |
1 PR per crate would be preferable! |
Thanks @nloadholtes for volunteering. |
Hi @mxinden and @thomaseizinger , I've made a WIP PR that I'd like some feedback on: #3070 Basically I'm looking at Thank you in advance for any feedback, I'm still learning the ways of rust, but I'm really liking what I'm seeing so far. |
This comment was marked as outdated.
This comment was marked as outdated.
This patch addresses #2500 for the `libp2p-floodsub` crate. For this PR the existing code was upgraded to use `Framed` with the `prost_codec::Codec` as the standard codec for handling the RPC message format serialization/deserialization.
quick-protobuf-codec
I've converted the remaining tasks into dedicated issues so they can be picked up more easily! |
Resolves: libp2p#4489. Resolves: libp2p#2500. Pull-Request: libp2p#4787.
Instead of implementing Protobuf en-/decoding in each protocol and for each message exchange, one can instead implement a custom encoder abstracting the en-/decoding of Protobuf messages.
Tasks
quick-protobuf-codec
#4488quick-protobuf-codec
crate #4487quick-protobuf-codec
#4489The text was updated successfully, but these errors were encountered: