Description
Summary of Bug
I'm hoping to PR an update to the cosmos-sdk-proto Rust crate to support v0.46.0. In the past, all third party proto package dependencies were present in the /third_party/
directory of the Cosmos SDK repo. However, now it seems with the latest version the gogo.proto
and other deps are included by buf using the buf schema registry. This breaks the cosmos-sdk-proto/proto-build
crate's build because it expects the third party proto dependencies to be present already. To my knowledge there isn't a Rust crate that can build protos with buf.
Workarounds I am considering include adding the files to the build crate as a dependency and copying them to third_party
in the build, or having the build run a CLI command and use buf
, but that seems hacky.
Wanted to raise it as a usability concern or at least get a recommended workaround?
Version
v0.46.0
Steps to Reproduce
Any attempt to build that doesn't use buf
I suppose
Activity