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

@ -3,10 +3,10 @@ use serde_json::Value;
use std::collections::{HashMap, HashSet};
use crate::api_schema::*;
use crate::api_schema::router::*;
use proxmox::api::schema::*;
use proxmox::api::{ApiHandler, ApiMethod};
use crate::api_schema::format::*;
//use crate::api_schema::config::*;
use super::environment::CliEnvironment;
use super::getopts;

View File

@ -1,8 +1,8 @@
use crate::api_schema::router::*;
use std::collections::HashMap;
use serde_json::Value;
use proxmox::api::{RpcEnvironment, RpcEnvironmentType};
/// `RpcEnvironmet` implementation for command line tools
pub struct CliEnvironment {
result_attributes: HashMap<String, Value>,