//! Which of the node's own addresses its pkarr record carries (ADR 001 ยง Node
//! Discovery).
//!
//! iroh's `PkarrPublisher` publishes only the relay URL by default. A node's
//! publisher uses [`node_publish_filter`] instead: the relay URL plus every
//! globally routable IP address the endpoint knows for itself, so a peer that
//! dials by bare `NodeId` resolves a direct path. Private, loopback,
//! link-local, and shared (CGNAT) addresses stay out of the record: no remote
//! dialer can reach them, and they describe the operator's internal network.
use Cow;
use is_publishable;
use TransportAddr;
use AddrFilter;
/// The node's pkarr publish filter: relay URLs and globally routable IPs.
pub