21 releases (9 breaking)
Uses old Rust 2015
0.10.0 | Oct 27, 2020 |
---|---|
0.9.6 | Jul 13, 2020 |
0.9.0 | Jun 30, 2020 |
0.7.1 | Mar 3, 2020 |
0.1.2 | Nov 27, 2018 |
#421 in #build
51 downloads per month
10KB
230 lines
nginx-rs
This crate provides nginx bindings for Rust. Currently, only Linux is supported.
How to Use
- Add
nginx
crate to Cargo.toml
[dependencies]
nginx = "0.10"
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.
No runtime deps
~0–1.9MB
~36K SLoC