You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
capnp-conv was written very hastily, and some help is required with improving the code:
Code review + refactoring suggestions
A more extensive test suite, possibly using Quickcheck or proptest. I'm not sure which one to pick.
Better error messages
Marking the correct span when an error occurs.
Providing extra information in unimplemented!() calls.
Extra documentation
What is capnp_conv
capnp_conv is a procedural macro mechanism allowing to automatically derive capnproto serialization and deserialization glue code between Rust structs and capnp structs.
Help required
capnp-conv
was written very hastily, and some help is required with improving the code:unimplemented!()
calls.What is capnp_conv
capnp_conv
is a procedural macro mechanism allowing to automatically derive capnproto serialization and deserialization glue code between Rust structs and capnp structs.Example for usage (From offst-proto):
The user can then invoke:
request_send_funds.to_capnp_bytes()
orRequestSendFunds::from_capnp_bytes(...)
The design of capnp_conv is inspired by proto_conv.
capnp_conv
is currently being used through the whole Offst codebase, mostly inoffst-proto
.The text was updated successfully, but these errors were encountered: