Skip to content
Rust binding for NGINX
Branch: master
Clone or download
Latest commit d2c0b3a Jul 17, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ngx-binding
tests
tools use nginxinc namespace Jun 18, 2018
.gitignore initial check in Aug 12, 2017
Cargo.lock Fix usage example in README (#16) Jul 16, 2018
Cargo.toml
LICENSE
Makefile upgrade to nginx 1.13.7 (#10) Nov 22, 2017
README.md update README (#18) Jul 16, 2018
WORKSPACE
nginx.mk upgrade to nginx 1.13.7 (#10) Nov 22, 2017

README.md

Rust for NGINX

Rust bindings and wrappers for NGINX. Can be used for building dynamic modules and hacking NGINX using rust.

Production Status

This version is proof of concept. It has enough binding for building modules for nginmesh.

You still need to write C stub code to build the complete module. Please wait for next version which will remove this restriction.

Getting Started

Add the following dependency to your Cargo manifest...

[dependencies]
ngx_rust = "0.1.1"

Next, add this to your crate:

extern crate ngx_rust;

Building module Example

Please see istio mixer module for full example. Currently, it requires much machinery to build the module.

Roadmap

Please see roadmap for future plans.

Limitation

Only supports these platforms:

  • Darwin (Mac OSX)
  • Linux platform
You can’t perform that action at this time.