#c-ares #build #cmake #logic

mini-c-ares-src

Source of c-ares and logic to build it using cmake

3 unstable releases

0.2.1 Oct 10, 2023
0.2.0 Aug 28, 2023
0.1.0 Aug 28, 2023

#1809 in Math


Used in 3 crates (via mini-c-ares-sys)

MIT license

2.5MB
52K SLoC

C 24K SLoC // 0.1% comments C++ 18K SLoC // 0.2% comments M4 9K SLoC // 0.3% comments Bitbake 203 SLoC // 0.1% comments Automake 125 SLoC // 0.4% comments Shell 96 SLoC // 0.2% comments Perl 66 SLoC // 0.1% comments Rust 26 SLoC // 0.1% comments AWK 18 SLoC // 0.4% comments Batch 9 SLoC // 0.5% comments

Contains (obscure autoconf code, 26KB) c-ares/configure.ac, (obscure autoconf code, 2KB) c-ares/test/configure.ac

mini-c-ares-src

This crate contains the logic to build c-ares and is intended to be consumed by the mini-c-ares-sys crate.

Some of the build code is copied from c-ares-sys.

Dependencies