Crates.io | nginx |
lib.rs | nginx |
version | 0.10.0 |
source | src |
created_at | 2018-11-21 20:40:26.236394 |
updated_at | 2020-10-27 13:17:39.086587 |
description | Rust bindings for NGINX API |
homepage | https://github.com/arvancloud/nginx-rs |
repository | https://github.com/arvancloud/nginx-rs |
max_upload_size | |
id | 98025 |
size | 23,535 |
This crate provides nginx bindings for Rust. Currently, only Linux is supported.
nginx
crate to Cargo.toml[dependencies]
nginx = "0.10"
Note: In order to build the crate, clang
must be installed.
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.