-
Notifications
You must be signed in to change notification settings - Fork 69
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: Add ProtoJSON-compatible Serialize
and Deserialize
instances on all Protobuf definitions via pbjson
#146
Conversation
Serialize
and Deserialize
on all Protobuf definitions via pbjson
Serialize
and Deserialize
on all Protobuf definitions via pbjson
Serialize
and Deserialize
on all Protobuf definitions via pbjson
Serialize
and Deserialize
instances on all Protobuf definitions via pbjson
Serialize
and Deserialize
instances on all Protobuf definitions via pbjson
Serialize
and Deserialize
instances on all Protobuf definitions via pbjson
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #146 +/- ##
===========================================
+ Coverage 50.54% 65.27% +14.72%
===========================================
Files 23 8 -15
Lines 8034 3551 -4483
Branches 86 0 -86
===========================================
- Hits 4061 2318 -1743
+ Misses 3616 1233 -2383
+ Partials 357 0 -357
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 16 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would be great, and would unblock us on Penumbra.
Closes: #156 Addresses the `no_std` compatibility issue with `serde` feature in `ibc-rs`. This is caused by the recent implementation of ProtoJSON serialization and deserialization [0] for the `ics23` Protobuf definitions using `pbjson`, and then re-exporting the ics23 type [1] in `ibc-proto-rs`. Some of our users by then (starting from IBC-rs v0.41.0) are experiencing compilation errors. [2] To meet this immediate need [3] and the lack of activity in the `pbjson` crate for months, we have taken the initiative to feature `no_std` support in the `informalsystems-pbjson` crate and have it published. [0] #146 [1] cosmos/ibc-proto-rs#92 [2] cosmos/ibc-rs#741 [3] cosmos/ibc-proto-rs#98 (comment) --- * feat: enable no_std support for pbjson * fix: get serde feature work with no-std * deps: use informalsystems-pbjson v0.6.0 * deps: use informalsystems-pbjson v0.6.0
Closes: #144
Supersedes: #145