remove unused identity macro
this is not required anymore by the sortable macro Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
368daf13fd
commit
e25982f24e
|
@ -6,7 +6,7 @@ use serde_json::{json, Value};
|
|||
use std::collections::HashMap;
|
||||
use std::collections::HashSet;
|
||||
|
||||
use proxmox_sys::{identity, sortable};
|
||||
use proxmox_sys::sortable;
|
||||
use proxmox_router::{
|
||||
http_err, list_subdirs_api_method, Router, RpcEnvironment, SubdirMap, Permission,
|
||||
};
|
||||
|
|
|
@ -4,7 +4,7 @@ use std::convert::TryFrom;
|
|||
use anyhow::{bail, format_err, Error};
|
||||
use serde_json::{json, Value};
|
||||
|
||||
use proxmox_sys::{identity, sortable};
|
||||
use proxmox_sys::sortable;
|
||||
use proxmox_router::{
|
||||
http_err, list_subdirs_api_method, Router, RpcEnvironment, SubdirMap, Permission,
|
||||
};
|
||||
|
|
|
@ -12,7 +12,7 @@ use hyper::{header, Body, Response, StatusCode};
|
|||
use serde_json::{json, Value};
|
||||
use tokio_stream::wrappers::ReceiverStream;
|
||||
|
||||
use proxmox_sys::{identity, sortable};
|
||||
use proxmox_sys::sortable;
|
||||
use proxmox_sys::fs::{
|
||||
file_read_firstline, file_read_optional_string, replace_file, CreateOptions,
|
||||
};
|
||||
|
|
|
@ -8,7 +8,7 @@ use hyper::{Body, Response, Request, StatusCode};
|
|||
use serde_json::{json, Value};
|
||||
use hex::FromHex;
|
||||
|
||||
use proxmox_sys::{sortable, identity};
|
||||
use proxmox_sys::sortable;
|
||||
use proxmox_router::list_subdirs_api_method;
|
||||
use proxmox_router::{
|
||||
ApiResponseFuture, ApiHandler, ApiMethod, Router, RpcEnvironment, SubdirMap, Permission,
|
||||
|
|
|
@ -9,7 +9,7 @@ use hyper::http::request::Parts;
|
|||
use serde_json::{json, Value};
|
||||
use hex::FromHex;
|
||||
|
||||
use proxmox_sys::{sortable, identity};
|
||||
use proxmox_sys::sortable;
|
||||
use proxmox_router::{ApiResponseFuture, ApiHandler, ApiMethod, RpcEnvironment};
|
||||
use proxmox_schema::*;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
use proxmox_router::{Router, SubdirMap};
|
||||
use proxmox_router::list_subdirs_api_method;
|
||||
use proxmox_sys::{identity, sortable};
|
||||
use proxmox_sys::sortable;
|
||||
|
||||
pub mod tfa;
|
||||
pub mod openid;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
use anyhow::{bail, Error};
|
||||
use serde_json::{json, Value};
|
||||
|
||||
use proxmox_sys::{sortable, identity};
|
||||
use proxmox_sys::sortable;
|
||||
use proxmox_router::{
|
||||
list_subdirs_api_method, Router, RpcEnvironment, RpcEnvironmentType, SubdirMap, Permission,
|
||||
};
|
||||
|
|
|
@ -12,7 +12,7 @@ use hyper::Request;
|
|||
use serde_json::{json, Value};
|
||||
use tokio::io::{AsyncBufReadExt, BufReader};
|
||||
|
||||
use proxmox_sys::{identity, sortable};
|
||||
use proxmox_sys::sortable;
|
||||
use proxmox_sys::fd::fd_change_cloexec;
|
||||
|
||||
use proxmox_router::{
|
||||
|
|
|
@ -3,7 +3,7 @@ use std::process::{Command, Stdio};
|
|||
use anyhow::{bail, Error};
|
||||
use serde_json::{json, Value};
|
||||
|
||||
use proxmox_sys::{sortable, identity};
|
||||
use proxmox_sys::sortable;
|
||||
use proxmox_router::{list_subdirs_api_method, Router, Permission, RpcEnvironment, SubdirMap};
|
||||
use proxmox_schema::api;
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ use std::io::{BufRead, BufReader};
|
|||
use anyhow::{bail, Error};
|
||||
use serde_json::{json, Value};
|
||||
|
||||
use proxmox_sys::{identity, sortable};
|
||||
use proxmox_sys::sortable;
|
||||
use proxmox_router::{list_subdirs_api_method, Router, RpcEnvironment, Permission, SubdirMap};
|
||||
use proxmox_schema::api;
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ use hyper::{Body, Response, Request, StatusCode};
|
|||
use serde_json::Value;
|
||||
use hex::FromHex;
|
||||
|
||||
use proxmox_sys::{identity, sortable};
|
||||
use proxmox_sys::sortable;
|
||||
use proxmox_router::{
|
||||
http_err, list_subdirs_api_method, ApiHandler, ApiMethod, ApiResponseFuture, Permission,
|
||||
Router, RpcEnvironment, SubdirMap,
|
||||
|
|
|
@ -6,7 +6,7 @@ use std::collections::HashMap;
|
|||
use anyhow::{bail, format_err, Error};
|
||||
use serde_json::Value;
|
||||
|
||||
use proxmox_sys::{sortable, identity};
|
||||
use proxmox_sys::sortable;
|
||||
use proxmox_router::{
|
||||
list_subdirs_api_method, Permission, Router, RpcEnvironment, RpcEnvironmentType, SubdirMap,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue