tokio-dns

Asynchronous name resolution utilities for the futures and tokio-core crates. Look at the crate-level documentation for more details.

BuildStatus

Documentation

This library has been packaged to crates.io. Note that its name on crates.io is tokio-dns-unofficial, but the crate's name is tokio_dns (when using extern crate ...).

Changelog

0.4.0

0.3.1

0.3.0

Demo

```rust // Taken from examples/basic.rs use tokio_dns::TcpStream;

// connect using the built-in resolver. let conn = TcpStream::connect("rust-lang.org:80").andthen(|sock| { println!("conncted to {}", sock.peeraddr().unwrap()); Ok(()) }); ```

License

MIT or Apache