diff --git a/iroh/src/client/gossip.rs b/iroh/src/client/gossip.rs index ebd8601e60..7d80059ae5 100644 --- a/iroh/src/client/gossip.rs +++ b/iroh/src/client/gossip.rs @@ -19,7 +19,7 @@ use iroh_gossip::proto::TopicId; use iroh_net::NodeId; use ref_cast::RefCast; -use crate::rpc_protocol::gossip::{SubscribeRequest, SubscribeResponse, SubscribeUpdate}; +pub use crate::rpc_protocol::gossip::{SubscribeRequest, SubscribeResponse, SubscribeUpdate}; use super::RpcClient; diff --git a/iroh/src/lib.rs b/iroh/src/lib.rs index 42854bc0c0..553aab8528 100644 --- a/iroh/src/lib.rs +++ b/iroh/src/lib.rs @@ -90,6 +90,8 @@ pub use iroh_blobs as blobs; #[doc(inline)] pub use iroh_docs as docs; #[doc(inline)] +pub use iroh_gossip as gossip; +#[doc(inline)] pub use iroh_net as net; pub mod client;