From cc4ecf80b01a0dd8f096d9b3151d6c2c8713b873 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Thu, 21 Nov 2019 14:18:41 +0100 Subject: [PATCH] api/compat: drop api_handler submodule Signed-off-by: Wolfgang Bumiller --- src/api_schema.rs | 4 ---- src/cli/command.rs | 1 - src/server/rest.rs | 1 - 3 files changed, 6 deletions(-) diff --git a/src/api_schema.rs b/src/api_schema.rs index d813620c..571fa29c 100644 --- a/src/api_schema.rs +++ b/src/api_schema.rs @@ -22,10 +22,6 @@ pub mod format; pub use proxmox::api::schema::*; pub use proxmox::api::*; -pub mod api_handler { - pub use super::{ApiAsyncHandlerFn, ApiHandler, ApiHandlerFn, ApiFuture}; -} - pub mod router { pub use super::{ApiHandler, ApiMethod, HttpError, RpcEnvironment, RpcEnvironmentType}; pub use proxmox::api::router::*; diff --git a/src/cli/command.rs b/src/cli/command.rs index 69fc3b37..f877885d 100644 --- a/src/cli/command.rs +++ b/src/cli/command.rs @@ -4,7 +4,6 @@ use serde_json::Value; use std::collections::{HashMap, HashSet}; use crate::api_schema::*; -use crate::api_schema::api_handler::*; use crate::api_schema::router::*; use crate::api_schema::format::*; //use crate::api_schema::config::*; diff --git a/src/server/rest.rs b/src/server/rest.rs index f85ba398..f583afaa 100644 --- a/src/server/rest.rs +++ b/src/server/rest.rs @@ -19,7 +19,6 @@ use url::form_urlencoded; use super::environment::RestEnvironment; use super::formatter::*; use crate::api_schema::rpc_environment::*; -use crate::api_schema::api_handler::*; use crate::api_schema::config::*; use crate::api_schema::router::*; use crate::api_schema::*;