Skip to content

lineCode/ngx-rust

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 56.7%
  • Makefile 22.1%
  • C 11.8%
  • Dockerfile 9.4%