#dns #c-ares

sys c-ares-sys

Low-level bindings to the c-ares library

47 releases (stable)

new 8.2.0 Nov 30, 2023
7.0.0 Oct 28, 2023
6.0.1 Oct 14, 2023
5.4.2 May 22, 2023
0.2.1 Jul 30, 2015

#1559 in Network programming

Download history 621/week @ 2023-08-10 721/week @ 2023-08-17 359/week @ 2023-08-24 186/week @ 2023-08-31 294/week @ 2023-09-07 152/week @ 2023-09-14 127/week @ 2023-09-21 163/week @ 2023-09-28 157/week @ 2023-10-05 444/week @ 2023-10-12 532/week @ 2023-10-19 455/week @ 2023-10-26 170/week @ 2023-11-02 624/week @ 2023-11-09 622/week @ 2023-11-16 566/week @ 2023-11-23

2,020 downloads per month
Used in 12 crates (2 directly)

MIT license

2.5MB
59K SLoC

C 30K SLoC // 0.1% comments C++ 18K SLoC // 0.2% comments M4 9K SLoC // 0.3% comments Rust 2K SLoC // 0.0% comments Bitbake 281 SLoC // 0.0% comments Automake 126 SLoC // 0.4% comments Shell 96 SLoC // 0.2% comments Perl 66 SLoC // 0.1% comments AWK 18 SLoC // 0.4% comments Batch 9 SLoC // 0.5% comments

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

crates.io


lib.rs:

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.

Dependencies

~0–8MB
~56K SLoC