From 13408babadddb02977b69fbb79648bbb9cea947b Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Mon, 21 Feb 2022 11:39:17 +0100 Subject: [PATCH] depend on new 'proxmox-compression' crate the compression utilities live there now Signed-off-by: Dominik Csapak Signed-off-by: Wolfgang Bumiller --- proxmox-rest-server/Cargo.toml | 1 + proxmox-rest-server/src/rest.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/proxmox-rest-server/Cargo.toml b/proxmox-rest-server/Cargo.toml index 8fbbe8c0..ce863926 100644 --- a/proxmox-rest-server/Cargo.toml +++ b/proxmox-rest-server/Cargo.toml @@ -32,6 +32,7 @@ url = "2.1" #proxmox = "0.15.3" proxmox-async = "0.3" +proxmox-compression = "0.1" proxmox-io = "1" proxmox-lang = "1" proxmox-http = { version = "0.6", features = [ "client" ] } diff --git a/proxmox-rest-server/src/rest.rs b/proxmox-rest-server/src/rest.rs index 093e6226..5194151c 100644 --- a/proxmox-rest-server/src/rest.rs +++ b/proxmox-rest-server/src/rest.rs @@ -30,7 +30,7 @@ use proxmox_schema::{ObjectSchemaType, ParameterSchema}; use proxmox_http::client::RateLimitedStream; -use proxmox_async::compression::{DeflateEncoder, Level}; +use proxmox_compression::{DeflateEncoder, Level}; use proxmox_async::stream::AsyncReaderStream; use crate::{