ibc_core_channel/lib.rs
1//! ICS-04: Channel and Packet Semantics implementation to process channel open
2//! handshake and incoming data packets. Exports data structures and
3//! implementations of IBC core channel module.
4#![no_std]
5#![forbid(unsafe_code)]
6#![cfg_attr(not(test), deny(clippy::unwrap_used))]
7#![cfg_attr(not(test), deny(clippy::disallowed_methods, clippy::disallowed_types,))]
8#![deny(
9 warnings,
10 trivial_numeric_casts,
11 unused_import_braces,
12 unused_qualifications,
13 rust_2018_idioms
14)]
15
16#[cfg(feature = "std")]
17extern crate std;
18
19pub mod context;
20pub mod handler;
21
22/// Re-exports ICS-04 data structures from the `ibc-core-channel-types` crate.
23pub mod types {
24 #[doc(inline)]
25 pub use ibc_core_channel_types::*;
26}