ibc_client_tendermint/
lib.rs

1//! ICS 07: Tendermint light client implementation along with re-exporting the
2//! necessary types from `ibc-client-tendermint-types` crate.
3#![no_std]
4#![forbid(unsafe_code)]
5#![cfg_attr(not(test), deny(clippy::unwrap_used))]
6#![cfg_attr(not(test), deny(clippy::disallowed_methods, clippy::disallowed_types))]
7#![deny(
8    warnings,
9    trivial_casts,
10    trivial_numeric_casts,
11    unused_import_braces,
12    unused_qualifications,
13    rust_2018_idioms
14)]
15
16#[cfg(any(test, feature = "std"))]
17extern crate std;
18
19pub mod client_state;
20pub mod consensus_state;
21
22pub const TENDERMINT_CLIENT_TYPE: &str = "07-tendermint";
23
24/// Re-exports Tendermint light client data structures from the
25/// `ibc-client-tendermint-type` crate.
26pub mod types {
27    #[doc(inline)]
28    pub use ibc_client_tendermint_types::*;
29}