hyper-trust-dns-connector
A compatibility crate to use trust-dns-resolver asynchronously with hyper client, instead the default dns threadpool
Motivations
By default hyper HttpConnector uses the std provided resolver wich is blocking in a threadpool with a configurable number of threads. This crate provides an alternative using trust_dns_resolver, a dns resolver written in Rust, with async features.
Example
extern crate hyper_trust_dns_connector;
extern crate hyper;
extern crate tokio;
use new_async_http_connector;
use ;
use Future;
use Runtime;