arvannginx 0.1.0

Rust bindings for ArvanNginx
docs.rs failed to build arvannginx-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

ArvanNginx-rs

crates.io Documentation Build Status Crates.io Nginx

This crate provides ArvanNginx bindings for Rust. Currently, only Linux is supported. If you are looking for Nginx bindings for Rust, please check nginx crate.

How to Use

  1. Add arvannginx crate to Cargo.toml
[dependencies]
arvannginx = "0.1"

Note: In order to build the crate, clang ang git must be installed and the following command must be executed on the host:

sed -i 's:# define IPPORT_RESERVED:// #define IPPORT_RESERVED:' /usr/include/netdb.h

Build

It is recommended to use Docker to build the crate:

make build-image
make build

Note: The version (tag) of ArvanNginx could be set using ARVANNGINX_VERSION environment variable, if it is not set, the default version is used:

ARVANNGINX_VERSION=1.17.0.1 cargo build