hyperlane_plugin_websocket/
lib.rs

1//! A WebSocket plugin for the Hyperlane framework.
2//!
3//! A WebSocket plugin for the Hyperlane framework,
4//! providing robust WebSocket communication capabilities and integrating
5//! with hyperlane-broadcast for efficient message dissemination.
6
7#[cfg(test)]
8pub(crate) mod tests;
9pub(crate) mod websocket;
10
11pub use websocket::{r#enum::*, r#struct::*};
12
13pub(crate) use websocket::{r#const::*, r#trait::*};
14
15pub(crate) use std::{
16    convert::Infallible,
17    net::{IpAddr, Ipv4Addr, Ipv6Addr, SocketAddr},
18    num::{
19        NonZeroI8, NonZeroI16, NonZeroI32, NonZeroI64, NonZeroI128, NonZeroIsize, NonZeroU8,
20        NonZeroU16, NonZeroU32, NonZeroU64, NonZeroU128, NonZeroUsize,
21    },
22    sync::Arc,
23};
24
25pub(crate) use hyperlane::{tokio::sync::broadcast::Receiver, *};
26pub(crate) use hyperlane_broadcast::*;
27
28#[cfg(test)]
29pub(crate) use std::sync::OnceLock;