/ngx-rust

Rust binding for NGINX

Primary LanguageRustApache License 2.0Apache-2.0

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