api/compat: drop more compat imports from api_schema.rs

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller
2019-11-21 14:36:28 +01:00
parent cc4ecf80b0
commit a2479cfa1a
21 changed files with 67 additions and 77 deletions

View File

@ -2,9 +2,9 @@ use failure::*;
use futures::*;
use proxmox::tools::try_block;
use proxmox::api::RpcEnvironmentType;
//use proxmox_backup::tools;
use proxmox_backup::api_schema::router::*;
use proxmox_backup::api_schema::config::*;
use proxmox_backup::server::rest::*;
use proxmox_backup::server;

View File

@ -1,22 +1,21 @@
use std::sync::Arc;
use failure::*;
use futures::*;
use hyper;
use openssl::ssl::{SslMethod, SslAcceptor, SslFiletype};
use proxmox::tools::try_block;
use proxmox::api::RpcEnvironmentType;
use proxmox_backup::configdir;
use proxmox_backup::buildcfg;
use proxmox_backup::server;
use proxmox_backup::tools::daemon;
use proxmox_backup::api_schema::router::*;
use proxmox_backup::api_schema::config::*;
use proxmox_backup::server::rest::*;
use proxmox_backup::auth_helpers::*;
use failure::*;
use proxmox::tools::try_block;
use futures::*;
use openssl::ssl::{SslMethod, SslAcceptor, SslFiletype};
use std::sync::Arc;
use hyper;
#[tokio::main]
async fn main() {
if let Err(err) = run().await {