iroh_dns/lib.rs
1//! DNS-based endpoint discovery for iroh.
2//!
3//! This crate contains the core types for publishing and resolving iroh endpoint
4//! information via DNS, using the [pkarr](https://pkarr.org) signed packet format.
5#![deny(missing_docs, rustdoc::broken_intra_doc_links, unreachable_pub)]
6#![cfg_attr(not(test), deny(clippy::unwrap_used))]
7
8#[cfg(target_os = "android")]
9mod android;
10mod attrs;
11#[cfg(not(wasm_browser))]
12pub mod dns;
13pub mod endpoint_info;
14pub mod pkarr;
15
16#[cfg(target_os = "android")]
17pub use android::install_android_jni_context;
18pub use attrs::{EncodingError, IROH_TXT_NAME, ParseError};