Skip to content

Commit 73c9b75

Browse files
feat(iroh): make all important iroh_base types available (#2975)
## Description Otherwise one has to pull in some things from `iroh-base` and some from here ## Breaking Changes None, just additions ## 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 7057d72 commit 73c9b75

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

iroh/src/endpoint.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ use crate::{
4343
mod rtt_actor;
4444

4545
pub use bytes::Bytes;
46-
pub use iroh_base::node_addr::{AddrInfo, NodeAddr};
46+
pub use iroh_base::node_addr::{AddrInfo, AddrInfoOptions, NodeAddr};
4747
// Missing still: SendDatagram and ConnectionClose::frame_type's Type.
4848
pub use quinn::{
4949
AcceptBi, AcceptUni, AckFrequencyConfig, ApplicationClose, Chunk, ClosedStream, Connection,

iroh/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -242,16 +242,16 @@ pub mod endpoint;
242242
mod magicsock;
243243
pub mod metrics;
244244
pub mod protocol;
245-
pub mod ticket;
246245
pub mod tls;
247246

248247
pub(crate) mod util;
249248

250-
pub use endpoint::{AddrInfo, Endpoint, NodeAddr, RelayMode};
249+
pub use endpoint::{AddrInfo, AddrInfoOptions, Endpoint, NodeAddr, RelayMode};
251250
pub use iroh_base::{
252-
key,
251+
hash, key,
253252
key::NodeId,
254253
relay_map::{RelayMap, RelayNode, RelayUrl},
254+
ticket,
255255
};
256256
pub use iroh_relay as relay;
257257

iroh/src/ticket.rs

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)