nginx-0.9.3 has been yanked.
nginx-rs
This crate provides nginx bindings for Rust. Currently, only Linux is supported.
How to Use
- Add
nginx
crate to Cargo.toml
[]
= "0.9"
Features
- header adds headers iterator helper.
Note: In order to build the crate, clang
must be installed.
Environment Variables
NGINX_VERSION
Determines the version of nginx, if it is not set, the default version is used.NGINX_PATH
Determines 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.