move src/server/environment.rs to proxmox-rest-server crate
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
8bca935f08
commit
d4d49f7325
@ -6,6 +6,9 @@ use proxmox::tools::fd::Fd;
|
||||
|
||||
pub mod daemon;
|
||||
|
||||
mod environment;
|
||||
pub use environment::*;
|
||||
|
||||
mod state;
|
||||
pub use state::*;
|
||||
|
||||
|
@ -46,9 +46,6 @@ pub fn our_ctrl_sock() -> String {
|
||||
ctrl_sock_from_pid(*PID)
|
||||
}
|
||||
|
||||
mod environment;
|
||||
pub use environment::*;
|
||||
|
||||
mod upid;
|
||||
pub use upid::*;
|
||||
|
||||
|
@ -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::*;
|
||||
|
Loading…
Reference in New Issue
Block a user