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


A prost generated bindings for working with the gravity protobuf objects

4 releases

0.1.3 Oct 10, 2022
0.1.2 Aug 20, 2021
0.1.1 Aug 20, 2021
0.1.0 Aug 18, 2021

#8 in #gravity

Download history 29/week @ 2024-02-26 11/week @ 2024-03-04 31/week @ 2024-03-11 17/week @ 2024-03-18 39/week @ 2024-04-01 6/week @ 2024-04-08 5/week @ 2024-04-15

57 downloads per month
Used in 8 crates (7 directly)


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.


~274K SLoC