feat(dns): tokio_threadpool::blocking resolver
Unlike the default resolver, this avoids spawning extra dedicated threads but only works on the multi-threaded Tokio runtime. Closes #1676
This commit is contained in:
committed by
Sean McArthur
parent
6fe532da4c
commit
1e8d6439cf
@@ -31,6 +31,7 @@ extern crate time;
|
||||
#[cfg(feature = "runtime")] extern crate tokio_reactor;
|
||||
#[cfg(feature = "runtime")] extern crate tokio_tcp;
|
||||
#[cfg(feature = "runtime")] extern crate tokio_timer;
|
||||
#[cfg(feature = "runtime")] extern crate tokio_threadpool;
|
||||
extern crate want;
|
||||
|
||||
#[cfg(all(test, feature = "nightly"))]
|
||||
|
||||
Reference in New Issue
Block a user