feat(dns): export client::connect::dns module, and

`TokioThreadpoolGaiResolver` type.
This commit is contained in:
Sean McArthur
2018-10-23 12:31:11 -07:00
parent 1e8d6439cf
commit 34d780acd0
5 changed files with 59 additions and 40 deletions

View File

@@ -13,9 +13,8 @@ use futures::Future;
use http::{uri, Response, Uri};
use tokio_io::{AsyncRead, AsyncWrite};
#[cfg(feature = "runtime")] mod dns;
#[cfg(feature = "runtime")] pub mod dns;
#[cfg(feature = "runtime")] mod http;
#[cfg(feature = "runtime")] pub use self::dns::{GaiResolver, Name, Resolve};
#[cfg(feature = "runtime")] pub use self::http::{HttpConnector, HttpInfo};
/// Connect to a destination, returning an IO transport.