Skip to content

Commit

Permalink
upgrade to nginx 1.13.7 (#10)
Browse files Browse the repository at this point in the history
* update nginx version to 1.13.7

* change to multi-crate workspace
modularize the makefile

* clean up main makefile
  • Loading branch information
Sehyo Chang committed Nov 22, 2017
1 parent 7693ea2 commit 8c6b968
Show file tree
Hide file tree
Showing 16 changed files with 977 additions and 186 deletions.
298 changes: 145 additions & 153 deletions Cargo.lock

Large diffs are not rendered by default.

24 changes: 4 additions & 20 deletions Cargo.toml
@@ -1,20 +1,4 @@
[package]
name = "ngx-rust"
version = "0.1.1"
authors = ["Sehyo Chang sehyo@nginx.com"]

[lib]
doctest = false
test = true
crate-type = ["staticlib","rlib"]


[dev-dependencies]
futures = "0.1.14"
hyper = "0.11.2"
tokio-core = "0.1.9"

[build-dependencies]
bindgen = "0.30.0"


[workspace]
members = [
"ngx-binding"
]
12 changes: 1 addition & 11 deletions Makefile
@@ -1,13 +1,3 @@
MODULE_NAME=ngx_http_rust_module
MODULE_PROJ_NAME=ngx-rust
NGX_DEBUG="--with-debug"
include nginx.mk


clean:
cargo clean
rm -f src/bindings.rs


super_clean: clean
rm -rf nginx
make -C ngx-binding clean
2 changes: 1 addition & 1 deletion nginx.mk
@@ -1,4 +1,4 @@
NGINX_VER = 1.13.5
NGINX_VER = 1.13.7
UNAME_S := $(shell uname -s)
NGX_MODULES = --with-compat --with-threads --with-http_addition_module \
--with-http_auth_request_module --with-http_gunzip_module --with-http_gzip_static_module \
Expand Down
1 change: 1 addition & 0 deletions ngx-binding/.gitignore
@@ -0,0 +1 @@
nginx

0 comments on commit 8c6b968

Please sign in to comment.