use new proxmox-async crate

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
This commit is contained in:
Dietmar Maurer 2021-11-19 17:36:06 +01:00
parent ef69d1aeb9
commit 66b1f90f97
3 changed files with 4 additions and 3 deletions

View File

@ -31,6 +31,7 @@ tower-service = "0.3.0"
url = "2.1"
proxmox = "0.15.3"
proxmox-async = "0.1"
proxmox-io = "1"
proxmox-lang = "1"
proxmox-http = { version = "0.5.0", features = [ "client" ] }

View File

@ -33,8 +33,8 @@ use proxmox_schema::{
use proxmox_http::client::RateLimitedStream;
use pbs_tools::compression::{DeflateEncoder, Level};
use pbs_tools::stream::AsyncReaderStream;
use proxmox_async::compression::{DeflateEncoder, Level};
use proxmox_async::stream::AsyncReaderStream;
use crate::{
ApiConfig, FileLogger, AuthError, RestEnvironment, CompressionMethod,

View File

@ -6,7 +6,7 @@ use futures::*;
use tokio::signal::unix::{signal, SignalKind};
use pbs_tools::broadcast_future::BroadcastData;
use proxmox_async::broadcast_future::BroadcastData;
use crate::request_shutdown;