tokio-dns
Asynchronous name resolution utilities for the futures
and tokio-core
crates. Look at the crate-level documentation for more details.
The package's name is tokio-dns-unofficial
, but the crate's name is tokio-dns
.
Demo
// Taken from examples/basic.rs
// connect using the built-in resolver.
let conn = tcp_connect.and_then;