side_proto/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#![doc = include_str!("../README.md")]
#![doc(
    html_logo_url = "https://raw.githubusercontent.com/cosmos/cosmos-rust/main/.images/cosmos.png"
)]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
#![allow(
    rustdoc::bare_urls,
    rustdoc::broken_intra_doc_links,
    clippy::derive_partial_eq_without_eq
)]
#![forbid(unsafe_code)]
#![warn(trivial_casts, trivial_numeric_casts, unused_import_braces)]
#![cfg_attr(not(feature = "std"), no_std)]

extern crate alloc;

pub mod traits;

pub use prost;
pub use tendermint_proto as tendermint;
pub use tendermint_proto::google::protobuf::{Any, Timestamp};
pub use cosmos_sdk_proto::cosmos;

/// The version (commit hash) of the Cosmos SDK used when generating this library.
pub const VERSION: &str = include_str!("prost/side/GIT_COMMIT");

pub mod side {
    pub mod btcbridge {
        include!("prost/side/side.btcbridge.rs");
    }
    pub mod auction {
        include!("prost/side/side.auction.rs");
    }
    pub mod dlc {
        include!("prost/side/side.dlc.rs");
    }
}