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::*;