Skip to content

Commit

Permalink
feat(iroh): add missing gossip reexports (#2479)
Browse files Browse the repository at this point in the history
## 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.
  • Loading branch information
dignifiedquire authored Jul 8, 2024
1 parent e53714c commit af36c2f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion iroh/src/client/gossip.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 2 additions & 0 deletions iroh/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit af36c2f

Please sign in to comment.