mirror of
https://git.proxmox.com/git/proxmox
synced 2025-10-04 09:08:51 +00:00
move src/server/formatter.rs to proxmox-rest-server crate
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
ba04dfb9b2
commit
dc28aa1ae7
@ -5,6 +5,7 @@ use anyhow::{bail, format_err, Error};
|
||||
use proxmox::tools::fd::Fd;
|
||||
|
||||
pub mod daemon;
|
||||
pub mod formatter;
|
||||
|
||||
mod environment;
|
||||
pub use environment::*;
|
||||
|
@ -11,8 +11,9 @@ use hyper::{Body, Request, Response, StatusCode};
|
||||
use proxmox::api::{ApiResponseFuture, HttpError, Router, RpcEnvironment};
|
||||
use proxmox::http_err;
|
||||
|
||||
use proxmox_rest_server::formatter::*;
|
||||
|
||||
use crate::tools;
|
||||
use crate::server::formatter::*;
|
||||
use crate::server::WorkerTask;
|
||||
|
||||
/// Hyper Service implementation to handle stateful H2 connections.
|
||||
|
@ -35,8 +35,7 @@ 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 super::formatter::*;
|
||||
use proxmox_rest_server::formatter::*;
|
||||
|
||||
use crate::auth_helpers::*;
|
||||
use pbs_config::CachedUserInfo;
|
||||
|
Loading…
Reference in New Issue
Block a user