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
@@ -35,6 +35,7 @@ tokio-io = "0.1"
|
||||
tokio-reactor = { version = "0.1", optional = true }
|
||||
tokio-tcp = { version = "0.1", optional = true }
|
||||
tokio-timer = { version = "0.2", optional = true }
|
||||
tokio-threadpool = { version = "0.1", optional = true }
|
||||
want = "0.0.6"
|
||||
|
||||
[dev-dependencies]
|
||||
@@ -62,6 +63,7 @@ runtime = [
|
||||
"tokio-reactor",
|
||||
"tokio-tcp",
|
||||
"tokio-timer",
|
||||
"tokio-threadpool",
|
||||
]
|
||||
nightly = []
|
||||
__internal_flaky_tests = []
|
||||
|
||||
Reference in New Issue
Block a user