side_proto/
lib.rs

1#![doc = include_str!("../README.md")]
2#![doc(
3    html_logo_url = "https://raw.githubusercontent.com/cosmos/cosmos-rust/main/.images/cosmos.png"
4)]
5#![cfg_attr(docsrs, feature(doc_auto_cfg))]
6#![allow(
7    rustdoc::bare_urls,
8    rustdoc::broken_intra_doc_links,
9    clippy::derive_partial_eq_without_eq
10)]
11#![forbid(unsafe_code)]
12#![warn(trivial_casts, trivial_numeric_casts, unused_import_braces)]
13#![cfg_attr(not(feature = "std"), no_std)]
14
15extern crate alloc;
16
17pub mod traits;
18
19pub use prost;
20pub use tendermint_proto as tendermint;
21pub use tendermint_proto::google::protobuf::{Any, Timestamp};
22pub use cosmos_sdk_proto::cosmos;
23
24/// The version (commit hash) of the Cosmos SDK used when generating this library.
25pub const VERSION: &str = include_str!("prost/side/GIT_COMMIT");
26
27pub mod side {
28    pub mod btcbridge {
29        include!("prost/side/side.btcbridge.rs");
30    }
31    pub mod liquidation {
32        include!("prost/side/side.liquidation.rs");
33    }
34    pub mod dlc {
35        include!("prost/side/side.dlc.rs");
36    }
37    pub mod lending {
38        include!("prost/side/side.lending.rs");
39    }
40    pub mod oracle {
41        include!("prost/side/side.oracle.rs");
42    }
43    pub mod tss {
44        include!("prost/side/side.tss.rs");
45    }
46}