From 4d798bc3e79a0991460c14b657b03bd17d08d7df Mon Sep 17 00:00:00 2001 From: Chris Hennick <4961925+Pr0methean@users.noreply.github.com> Date: Wed, 24 Apr 2024 12:20:58 -0700 Subject: [PATCH] Replace `zip` with `zip_next` (#889) --- utoipa-swagger-ui/Cargo.toml | 2 +- utoipa-swagger-ui/build.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/utoipa-swagger-ui/Cargo.toml b/utoipa-swagger-ui/Cargo.toml index 9b47f2c4..503bd2ac 100644 --- a/utoipa-swagger-ui/Cargo.toml +++ b/utoipa-swagger-ui/Cargo.toml @@ -32,6 +32,6 @@ features = ["actix-web", "axum", "rocket"] rustdoc-args = ["--cfg", "doc_cfg"] [build-dependencies] -zip = { version = "0.6", default-features = false, features = ["deflate"] } +zip_next = { version = "1.0", default-features = false, features = ["deflate"] } regex = "1.7" reqwest = { version = "0.11", features = ["blocking"] } diff --git a/utoipa-swagger-ui/build.rs b/utoipa-swagger-ui/build.rs index ccb30b0b..f8900419 100644 --- a/utoipa-swagger-ui/build.rs +++ b/utoipa-swagger-ui/build.rs @@ -7,7 +7,7 @@ use std::{ }; use regex::Regex; -use zip::{result::ZipError, ZipArchive}; +use zip_next::{result::ZipError, ZipArchive}; /// the following env variables control the build process: /// 1. SWAGGER_UI_DOWNLOAD_URL: