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

somm_gravity_proto

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

#9 in #gravity

Download history 2/week @ 2024-07-20 79/week @ 2024-07-27 6/week @ 2024-08-03 14/week @ 2024-09-21 22/week @ 2024-09-28 2/week @ 2024-10-05

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

Apache-2.0

65KB
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

~15–23MB
~357K SLoC