Skip to content

Commit af36c2f

Browse files
feat(iroh): add missing gossip reexports (#2479)
## Description Otherwise the api is painful to work with ## Breaking Changes <!-- Optional, if there are any breaking changes document them, including how to migrate older code. --> ## Notes & open questions <!-- Any notes, remarks or open questions you have to make about the PR. --> ## Change checklist - [ ] Self-review. - [ ] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [ ] Tests if relevant. - [ ] All breaking changes documented.
1 parent e53714c commit af36c2f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

iroh/src/client/gossip.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ use iroh_gossip::proto::TopicId;
1919
use iroh_net::NodeId;
2020
use ref_cast::RefCast;
2121

22-
use crate::rpc_protocol::gossip::{SubscribeRequest, SubscribeResponse, SubscribeUpdate};
22+
pub use crate::rpc_protocol::gossip::{SubscribeRequest, SubscribeResponse, SubscribeUpdate};
2323

2424
use super::RpcClient;
2525

iroh/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ pub use iroh_blobs as blobs;
9090
#[doc(inline)]
9191
pub use iroh_docs as docs;
9292
#[doc(inline)]
93+
pub use iroh_gossip as gossip;
94+
#[doc(inline)]
9395
pub use iroh_net as net;
9496

9597
pub mod client;

0 commit comments

Comments
 (0)