# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "unit-rs" version = "0.2.0" authors = ["Andrei Vasiliu "] description = "A safe wrapper around NGINX Unit's libunit." readme = "README.md" license = "Apache-2.0" repository = "https://github.com/andreivasiliu/unit-rs" resolver = "2" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [[example]] name = "http_adapter" required-features = ["http"] [dependencies.http] version = "0.2.8" optional = true [dependencies.libc] version = "0.2.126" [build-dependencies.bindgen] version = "0.60.1" [features] default = ["http"] http = ["dep:http"]