From 15a74fff08d391cde8c91ac3f1fd977b0544c604 Mon Sep 17 00:00:00 2001 From: Farhad Shabani Date: Wed, 25 Sep 2024 09:47:31 -0700 Subject: [PATCH] feat: re-export google protos from `tendermint_proto` (#242) * fix: re-export google protos from tendermint_proto * chore: add changelog --- .../242-re-export-google-protos-from-tendermint-proto.md | 2 ++ src/lib.rs | 5 +++++ 2 files changed, 7 insertions(+) create mode 100644 .changelog/unreleased/features/242-re-export-google-protos-from-tendermint-proto.md diff --git a/.changelog/unreleased/features/242-re-export-google-protos-from-tendermint-proto.md b/.changelog/unreleased/features/242-re-export-google-protos-from-tendermint-proto.md new file mode 100644 index 00000000..cf128c56 --- /dev/null +++ b/.changelog/unreleased/features/242-re-export-google-protos-from-tendermint-proto.md @@ -0,0 +1,2 @@ +- Re-export Google proto types from the `tendermint_proto` for added convenience + ([\#242](https://github.com/cosmos/ibc-proto-rs/pull/242)) diff --git a/src/lib.rs b/src/lib.rs index 7d67798a..7d4d93bb 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -37,6 +37,11 @@ pub const NFT_TRANSFER_COMMIT: &str = include_str!("NFT_TRANSFER_COMMIT"); #[cfg(feature = "proto-descriptor")] pub const FILE_DESCRIPTOR_SET: &[u8] = include_bytes!("prost/proto_descriptor.bin"); +// Re-export the Google protos from the `tendermint_proto` crate +pub mod google { + pub use tendermint_proto::google::*; +} + // Re-export Cosmos SDK protos from the `cosmos_sdk_proto` crate pub use cosmos_sdk_proto::cosmos;