A Rust wrapper for the c-ares
library, for asynchronous DNS requests.
Most users should likely prefer c-ares-resolver
, which offers a much simpler API.
To use c-ares
, add this to your Cargo.toml
:
[dependencies]
c-ares = "*"
And add this to your crate root:
extern crate c_ares;
Contributions are welcome. Please send pull requests!