docs.rs failed to build nginx-0.7.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
nginx-rs
This crate provides nginx bindings for Rust. Currently, only Linux is supported.
How to Use
- Add
nginxcrate to Cargo.toml
[]
= "0.7"
Note: In order to build the crate, clang must be installed.
Build
Docker could be used to to build the crate:
Environment Variables
NGINX_VERSIONDetermines the version of nginx, if it is not set, the default version is used.NGINX_PATHDetermines the local absolute path of pre-cloned nginx, if it is not set, nginx is downloaded.
Some code were copied (and refactored) from nginxinc/ngx-rust.