Adding libresolv_sys library as a dependency

Run this command in a terminal, in your project's directory:

cargo add libresolv-sys

To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:

libresolv-sys = "0.3.0"

The libresolv_sys library will be automatically available globally.

Back to the crate overview.