cosmos / cosmos-rust

The home of all shared Rust resources for the Cosmos ecosystem.
Apache License 2.0
306 stars 121 forks source link

cosmos-sdk-proto: fix `no_std` + `serde` #500

Closed tony-iqlusion closed 1 week ago

tony-iqlusion commented 1 week ago

Adds some transforms which enable the generated PBJSON-related code to be usable in no_std environments.

This is a workaround until such a time as it can be implemented natively in neoeinstein-prost-serde. See neoeinstein/protoc-gen-prost#102.

Closes #499