move src/tools/compression.rs to proxmox-rest-server crate
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
1b552c109d
commit
605fe2e7e7
@ -4,6 +4,9 @@ use anyhow::{bail, format_err, Error};
|
||||
|
||||
use proxmox::tools::fd::Fd;
|
||||
|
||||
mod compression;
|
||||
pub use compression::*;
|
||||
|
||||
pub mod daemon;
|
||||
pub mod formatter;
|
||||
|
||||
|
@ -34,13 +34,15 @@ use proxmox::tools::fs::CreateOptions;
|
||||
use pbs_tools::compression::{DeflateEncoder, Level};
|
||||
use pbs_tools::stream::AsyncReaderStream;
|
||||
use pbs_api_types::{Authid, Userid};
|
||||
use proxmox_rest_server::{ApiConfig, FileLogger, FileLogOptions, AuthError, RestEnvironment};
|
||||
use proxmox_rest_server::{
|
||||
ApiConfig, FileLogger, FileLogOptions, AuthError, RestEnvironment, CompressionMethod,
|
||||
};
|
||||
use proxmox_rest_server::formatter::*;
|
||||
|
||||
use crate::auth_helpers::*;
|
||||
use pbs_config::CachedUserInfo;
|
||||
|
||||
use crate::auth_helpers::*;
|
||||
use crate::tools;
|
||||
use crate::tools::compression::CompressionMethod;
|
||||
|
||||
extern "C" {
|
||||
fn tzset();
|
||||
|
@ -14,7 +14,6 @@ use proxmox_http::{
|
||||
|
||||
pub mod apt;
|
||||
pub mod async_io;
|
||||
pub mod compression;
|
||||
pub mod config;
|
||||
pub mod disks;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user