[package] name = "unit-rs" description = "A safe wrapper around NGINX Unit's libunit." authors = ["Andrei Vasiliu "] license = "Apache-2.0" repository = "https://github.com/andreivasiliu/unit-rs" readme = "README.md" version = "0.2.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"] [features] default = ["http"] http = ["dep:http"] [dependencies] libc = "0.2.126" http = { version = "0.2.8", optional = true } [build-dependencies] bindgen = "0.60.1" [[example]] name = "http_adapter" required-features = ["http"]