cdbattags / ngx-rust

Rust binding for NGINX

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Rust binding for NGINX

License:Apache License 2.0


Languages

Language:Rust 62.6%Language:Makefile 24.4%Language:C 13.0%