nginx

Crates.ionginx
lib.rsnginx
version0.10.0
sourcesrc
created_at2018-11-21 20:40:26.236394
updated_at2020-10-27 13:17:39.086587
descriptionRust bindings for NGINX API
homepagehttps://github.com/arvancloud/nginx-rs
repositoryhttps://github.com/arvancloud/nginx-rs
max_upload_size
id98025
size23,535
Elijah Zupancic (dekobon)

documentation

https://arvancloud.github.io/nginx-rs

README

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 = "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.

Commit count: 42

cargo fmt