iroh-base 0.98.0

base type and utilities for Iroh
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Base types and utilities for Iroh
#![cfg_attr(iroh_docsrs, feature(doc_cfg))]
#![deny(missing_docs, rustdoc::broken_intra_doc_links)]
#![cfg_attr(not(test), deny(clippy::unwrap_used))]

#[cfg(feature = "key")]
mod endpoint_addr;
#[cfg(feature = "key")]
mod key;
#[cfg(feature = "relay")]
mod relay_url;

#[cfg(feature = "key")]
pub use self::endpoint_addr::{CustomAddr, EndpointAddr, TransportAddr};
#[cfg(feature = "key")]
pub use self::key::{EndpointId, KeyParsingError, PublicKey, SecretKey, Signature, SignatureError};
#[cfg(feature = "relay")]
pub use self::relay_url::{RelayUrl, RelayUrlParseError};