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
7pub(crate) mod cfg;
8pub(crate) mod websocket;
9
10pub use websocket::{r#enum::*, r#struct::*};
11
12pub(crate) use websocket::{r#const::*, r#trait::*};
13
14pub(crate) use std::{
15    convert::Infallible,
16    net::{IpAddr, Ipv4Addr, Ipv6Addr, SocketAddr},
17    num::{
18        NonZeroI8, NonZeroI16, NonZeroI32, NonZeroI64, NonZeroI128, NonZeroIsize, NonZeroU8,
19        NonZeroU16, NonZeroU32, NonZeroU64, NonZeroU128, NonZeroUsize,
20    },
21    sync::Arc,
22};
23
24pub(crate) use hyperlane::{tokio::sync::broadcast::Receiver, *};
25pub(crate) use hyperlane_broadcast::*;
26
27#[cfg(test)]
28pub(crate) use std::sync::OnceLock;