Crates.io | arvannginx |
lib.rs | arvannginx |
version | 0.1.0 |
source | src |
created_at | 2019-06-26 09:16:57.445601 |
updated_at | 2019-06-26 09:16:57.445601 |
description | Rust bindings for ArvanNginx |
homepage | https://github.com/arvancloud/arvannginx-rs |
repository | https://github.com/arvancloud/arvannginx-rs |
max_upload_size | |
id | 143694 |
size | 21,412 |
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.
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
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