Bindings for c-ares, mostly autogenerated by rust-bindgen.
c-ares
rust-bindgen
To create ffi.rs, do this:
ffi.rs
bindgen -match ares -o src/ffi.rs c-ares/ares.h
and then apply the patch ffi.patch.
ffi.patch
The script generate-ffi.sh automates this process.
generate-ffi.sh