ibc_core_client_context/
lib.rs

1//! This crate functions as an intermediary layer between the storage of host
2//! chains and an IBC client implementation, providing developers with necessary
3//! traits to craft their custom light clients. It streamlines the process of
4//! integrating light clients with the host, enabling interaction with the store
5//! for pertinent client state transitions.
6#![no_std]
7#![forbid(unsafe_code)]
8#![cfg_attr(not(test), deny(clippy::unwrap_used))]
9#![cfg_attr(not(test), deny(clippy::disallowed_methods, clippy::disallowed_types))]
10#![deny(
11    warnings,
12    trivial_numeric_casts,
13    unused_import_braces,
14    unused_qualifications,
15    rust_2018_idioms
16)]
17
18#[cfg(feature = "std")]
19extern crate std;
20
21pub mod client_state;
22pub mod consensus_state;
23
24mod context;
25pub use context::*;
26
27/// Trait preludes for the ICS-02 client implementation.
28pub mod prelude {
29    pub use crate::client_state::*;
30    pub use crate::consensus_state::*;
31    pub use crate::context::*;
32}
33
34pub mod types {
35    #[doc(inline)]
36    pub use ibc_core_client_types::*;
37}