forked from Proxmox/proxmox
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
dc28aa1ae7
commit
fbe0de85d0
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user