docs.rs failed to build libp2prs-dns-0.2.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
libp2prs-dns-0.3.0
libp2prs-dns
This crate provides the type DnsConfig
that allows one to resolve the /dns4/
and /dns6/
components of multiaddresses.
Usage
In order to use this crate, create a DnsConfig
with one of its constructors and pass it an
implementation of the Transport
trait.
Whenever we want to dial an address through the DnsConfig
and that address contains a
/dns/
, /dns4/
, or /dns6/
component, a DNS resolve will be performed and the component
will be replaced with /ip4/
and/or /ip6/
components.