ibc_core_host/
lib.rs

1//! Provides essential top-level traits designed for the seamless integration of
2//! host chains with ibc-rs. It streamlines access to the host's storage,
3//! facilitating the efficient retrieval of states and metadata crucial for the
4//! execution of IBC logics.
5#![no_std]
6#![forbid(unsafe_code)]
7#![cfg_attr(not(test), deny(clippy::unwrap_used))]
8#![cfg_attr(not(test), deny(clippy::disallowed_methods, clippy::disallowed_types))]
9#![deny(
10    warnings,
11    trivial_numeric_casts,
12    unused_import_braces,
13    unused_qualifications,
14    rust_2018_idioms
15)]
16
17#[cfg(any(test, feature = "std"))]
18extern crate std;
19
20pub(crate) mod utils;
21
22mod context;
23pub use context::*;
24
25/// Re-exports ICS-24 data structures from `ibc-core-host-types` crate.
26pub mod types {
27    #[doc(inline)]
28    pub use ibc_core_host_types::*;
29}