#dns

sys c-ares-sys

Low-level bindings to the c-ares library

67 releases (stable)

Uses new Rust 2024

10.1.3 Apr 9, 2025
10.1.2 Dec 14, 2024
10.1.1 Nov 9, 2024
9.6.0 Aug 2, 2024
0.2.1 Jul 30, 2015

#178 in #dns

Download history 1012/week @ 2025-05-31 787/week @ 2025-06-07 1425/week @ 2025-06-14 1190/week @ 2025-06-21 1747/week @ 2025-06-28 1869/week @ 2025-07-05 1449/week @ 2025-07-12 1402/week @ 2025-07-19 1219/week @ 2025-07-26 1073/week @ 2025-08-02 1467/week @ 2025-08-09 1994/week @ 2025-08-16 1572/week @ 2025-08-23 897/week @ 2025-08-30 1117/week @ 2025-09-06 562/week @ 2025-09-13

4,612 downloads per month
Used in 11 crates (2 directly)

MIT license

2MB
44K SLoC

C 27K SLoC // 0.2% comments C++ 12K SLoC // 0.1% comments Rust 2K SLoC // 0.0% comments M4 1.5K SLoC // 0.4% comments Bitbake 313 SLoC // 0.0% comments Shell 120 SLoC // 0.2% comments Automake 111 SLoC // 0.3% comments Batch 9 SLoC // 0.5% comments

Contains (obscure autoconf code, 35KB) c-ares/configure.ac

Low-level bindings for the c-ares library.

In most cases this crate should not be used directly. The c-ares crate provides a safe wrapper and should be preferred wherever possible.


Bindings for c-ares, mostly autogenerated by rust-bindgen.

crates.io

Dependencies

~0–8.5MB
~59K SLoC