A fork of c-ares-resolver, which use mini-c-ares instead of c-ares. , for asynchronous DNS requests.
This crate provides three resolver types - the Resolver
, the FutureResolver
,
and the BlockingResolver
:
Resolver
is the thinnest wrapper around the underlying c-ares
library.
It returns answers via callbacks. The other resolvers are built on top of
this.FutureResolver
returns answers as std::future::Future
s.BlockingResolver
isn't asynchronous at all - as the name suggests, it
blocks until the lookup completes.API documentation is here.
Contributions should be sent to c-ares-resolver.