Home

Awesome

nginx-rs

crates.io Documentation Build Status Crates.io Nginx

This crate provides nginx bindings for Rust. Currently, only Linux is supported.

How to Use

  1. Add nginx crate to Cargo.toml
[dependencies]
nginx = { git = "https://github.com/arvancloud/nginx-rs.git", tag = "0.15.0" }

Note: In order to build the crate, clang must be installed.

Environment Variables

Some code were copied (and refactored) from nginxinc/ngx-rust.