c-ares 0.13.0

A Rust wrapper for the c-ares library, for asynchronous DNS requests.
Documentation

rust-c-ares

A Rust wrapper for the c-ares library, for asynchronous DNS requests.

Build Status crates.io

Documentation

  • API documentation is here.
  • There are some example programs here.

Installation

To use c-ares, add this to your Cargo.toml:

[dependencies]
c-ares = "*"

And add this to your crate root:

extern crate c_ares;

Platforms

Development has taken place on Linux. The library uses the std::os::unix::io::RawFd type to represent file descriptors - so if Rust doesn't consider that you have a Unix system, then this crate won't work for you.

It's a long-term goal to support other platforms - but don't hold your breath.

Contributing

Contributions are welcome. Please send pull requests!