move src/server/environment.rs to proxmox-rest-server crate

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Dietmar Maurer 2021-09-21 07:58:42 +02:00 committed by Thomas Lamprecht
parent 51d84f9847
commit ba04dfb9b2
3 changed files with 4 additions and 2 deletions

View File

@ -6,6 +6,9 @@ use proxmox::tools::fd::Fd;
pub mod daemon;
mod environment;
pub use environment::*;
mod state;
pub use state::*;

View File

@ -34,9 +34,8 @@ 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};
use proxmox_rest_server::{ApiConfig, FileLogger, FileLogOptions, AuthError, RestEnvironment};
use super::environment::RestEnvironment;
use super::formatter::*;
use crate::auth_helpers::*;