tendermint/
proto_macros.rs1macro_rules! tendermint_pb_modules {
4 {
5 $($contents:item)*
6 } => {
7 mod v0_34 {
8 use tendermint_proto::v0_34 as pb;
9 #[allow(unused_imports)]
10 use tendermint_proto::Protobuf;
11
12 $($contents)*
13 }
14 mod v0_37 {
15 use tendermint_proto::v0_37 as pb;
16 #[allow(unused_imports)]
17 use tendermint_proto::Protobuf;
18
19 $($contents)*
20 }
21 mod v0_38 {
22 use tendermint_proto::v0_38 as pb;
23 #[allow(unused_imports)]
24 use tendermint_proto::Protobuf;
25
26 $($contents)*
27 }
28 };
29}