#gravity #proto #generated #prost #reference #required #protobuf

cosmos_gravity_proto

A prost generated bindings for working with the gravity protobuf objects

1 unstable release

0.1.0 Aug 30, 2021

#15 in #gravity

21 downloads per month
Used in 2 crates (via cosmos_gravity_utils)

Apache-2.0

62KB
1.5K SLoC

This crate provides Gravity proto definitions in Rust and also re-exports cosmos_sdk_proto for use by downstream crates. By default around a dozen proto files are generated and places into the prost folder. We could then proceed to fix up all these files and use them as the required dependencies to the Gravity file, but we chose instead to replace those paths with references ot upstream cosmos-sdk-proto and delete the other files. This reduces cruft in this repo even if it does make for a somewhat more confusing proto generation process.

Dependencies

~15MB
~273K SLoC