[package]
edition = "2024"
rust-version = "1.88"
name = "libnss-host4"
version = "0.2.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A convenient way to implement the glibc gethostbyname4_r NSS host API"
homepage = "https://github.com/cfzimmerman/libnss-host4"
readme = "README.md"
keywords = [
"nss",
"glibc",
"dns",
"hostname",
"getaddrinfo",
]
categories = [
"network-programming",
"external-ffi-bindings",
"os::unix-apis",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/cfzimmerman/libnss-host4"
[lib]
name = "libnss_host4"
path = "src/lib.rs"
[[example]]
name = "nss_example"
crate-type = ["cdylib"]
path = "examples/nss_example.rs"
[dependencies.libc]
version = "0.2.186"
[dependencies.paste]
version = "1.0.15"