hyperlane_broadcast/
lib.rs

1//! hyperlane-broadcast
2//!
3//! hyperlane-broadcast is a lightweight
4//! and ergonomic wrapper over Tokio’s broadcast channel designed
5//! for easy-to-use publish-subscribe messaging in async Rust applications.
6//! It simplifies the native Tokio broadcast API by providing a straightforward
7//! interface for broadcasting messages to multiple subscribers with minimal boilerplate.
8
9pub(crate) mod broadcast;
10pub(crate) mod broadcast_map;
11pub(crate) mod cfg;
12
13pub use broadcast::{r#const::*, r#struct::*, r#trait::*, r#type::*};
14pub use broadcast_map::{r#struct::*, r#trait::*, r#type::*};
15
16pub(crate) use std::{fmt::Debug, hash::BuildHasherDefault};
17
18pub(crate) use dashmap::*;
19pub(crate) use tokio::sync::broadcast::{
20    error::SendError,
21    {Receiver, Sender},
22};
23pub(crate) use twox_hash::XxHash3_64;