1#![cfg_attr(iroh_docsrs, feature(doc_cfg))]
3#![deny(missing_docs, rustdoc::broken_intra_doc_links, unreachable_pub)]
4#![cfg_attr(not(test), deny(clippy::unwrap_used))]
5
6#[cfg(feature = "key")]
7mod endpoint_addr;
8#[cfg(feature = "key")]
9mod key;
10#[cfg(feature = "relay")]
11mod relay_url;
12
13#[cfg(feature = "key")]
14pub use self::endpoint_addr::{CustomAddr, EndpointAddr, TransportAddr};
15#[cfg(feature = "key")]
16pub use self::key::{
17 EndpointId, KeyParsingError, PublicKey, SecretKey, Signature, SignatureError,
18 SignatureParsingError,
19};
20#[cfg(feature = "relay")]
21pub use self::relay_url::{RelayUrl, RelayUrlParseError};