ibc_core_client/
lib.rs

1//! ICS-02: Client Semantics implementation for verifying remote IBC-enabled chains,
2//! along with re-exporting data structures from `ibc-core-client-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_numeric_casts,
10    unused_import_braces,
11    unused_qualifications,
12    rust_2018_idioms
13)]
14
15#[cfg(feature = "std")]
16extern crate std;
17
18pub mod handler;
19
20/// Re-exports ICS-02 traits from `ibc-core-client-context` for custom IBC
21/// client implementation.
22pub mod context {
23    #[doc(inline)]
24    pub use ibc_core_client_context::*;
25}
26
27/// Re-exports ICS-02 data structures from the `ibc-core-client-types` crate.
28pub mod types {
29    #[doc(inline)]
30    pub use ibc_core_client_types::*;
31}