From 89e0fcc81a95b5fe673fdae59855709be3d02a04 Mon Sep 17 00:00:00 2001 From: mtb0x1 <39337159+mtb0x1@users.noreply.github.com> Date: Wed, 25 Oct 2023 19:55:19 +0200 Subject: [PATCH] fix(#41): zlib version update --- README.md | 2 +- nginx-sys/build.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index db6debc..bdb19cc 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ In short, this SDK allows writing NGINX modules using the Rust language. NGINX modules can be built against a particular version of NGINX. The following environment variables can be used to specify a particular version of NGINX or an NGINX dependency: -* `ZLIB_VERSION` (default 1.2.13) - +* `ZLIB_VERSION` (default 1.3) - * `PCRE2_VERSION` (default 10.42) * `OPENSSL_VERSION` (default 3.0.7) * `NGX_VERSION` (default 1.23.3) - NGINX OSS version diff --git a/nginx-sys/build.rs b/nginx-sys/build.rs index 37536a6..9abbbe9 100644 --- a/nginx-sys/build.rs +++ b/nginx-sys/build.rs @@ -15,7 +15,7 @@ use tar::Archive; use which::which; /// The default version of zlib to use if the `ZLIB_VERSION` environment variable is not present -const ZLIB_DEFAULT_VERSION: &str = "1.2.13"; +const ZLIB_DEFAULT_VERSION: &str = "1.3"; const ZLIB_GPG_SERVER_AND_KEY_ID: (&str, &str) = ("keyserver.ubuntu.com", "783FCD8E58BCAFBA"); const ZLIB_DOWNLOAD_URL_PREFIX: &str = "https://www.zlib.net"; /// The default version of pcre2 to use if the `PCRE2_VERSION` environment variable is not present