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:
Wolfgang Bumiller 2021-11-29 11:24:02 +01:00
parent 368daf13fd
commit e25982f24e
12 changed files with 12 additions and 12 deletions

View File

@ -6,7 +6,7 @@ use serde_json::{json, Value};
use std::collections::HashMap; use std::collections::HashMap;
use std::collections::HashSet; use std::collections::HashSet;
use proxmox_sys::{identity, sortable}; use proxmox_sys::sortable;
use proxmox_router::{ use proxmox_router::{
http_err, list_subdirs_api_method, Router, RpcEnvironment, SubdirMap, Permission, http_err, list_subdirs_api_method, Router, RpcEnvironment, SubdirMap, Permission,
}; };

View File

@ -4,7 +4,7 @@ use std::convert::TryFrom;
use anyhow::{bail, format_err, Error}; use anyhow::{bail, format_err, Error};
use serde_json::{json, Value}; use serde_json::{json, Value};
use proxmox_sys::{identity, sortable}; use proxmox_sys::sortable;
use proxmox_router::{ use proxmox_router::{
http_err, list_subdirs_api_method, Router, RpcEnvironment, SubdirMap, Permission, http_err, list_subdirs_api_method, Router, RpcEnvironment, SubdirMap, Permission,
}; };

View File

@ -12,7 +12,7 @@ use hyper::{header, Body, Response, StatusCode};
use serde_json::{json, Value}; use serde_json::{json, Value};
use tokio_stream::wrappers::ReceiverStream; use tokio_stream::wrappers::ReceiverStream;
use proxmox_sys::{identity, sortable}; use proxmox_sys::sortable;
use proxmox_sys::fs::{ use proxmox_sys::fs::{
file_read_firstline, file_read_optional_string, replace_file, CreateOptions, file_read_firstline, file_read_optional_string, replace_file, CreateOptions,
}; };

View File

@ -8,7 +8,7 @@ use hyper::{Body, Response, Request, StatusCode};
use serde_json::{json, Value}; use serde_json::{json, Value};
use hex::FromHex; use hex::FromHex;
use proxmox_sys::{sortable, identity}; use proxmox_sys::sortable;
use proxmox_router::list_subdirs_api_method; use proxmox_router::list_subdirs_api_method;
use proxmox_router::{ use proxmox_router::{
ApiResponseFuture, ApiHandler, ApiMethod, Router, RpcEnvironment, SubdirMap, Permission, ApiResponseFuture, ApiHandler, ApiMethod, Router, RpcEnvironment, SubdirMap, Permission,

View File

@ -9,7 +9,7 @@ use hyper::http::request::Parts;
use serde_json::{json, Value}; use serde_json::{json, Value};
use hex::FromHex; use hex::FromHex;
use proxmox_sys::{sortable, identity}; use proxmox_sys::sortable;
use proxmox_router::{ApiResponseFuture, ApiHandler, ApiMethod, RpcEnvironment}; use proxmox_router::{ApiResponseFuture, ApiHandler, ApiMethod, RpcEnvironment};
use proxmox_schema::*; use proxmox_schema::*;

View File

@ -1,6 +1,6 @@
use proxmox_router::{Router, SubdirMap}; use proxmox_router::{Router, SubdirMap};
use proxmox_router::list_subdirs_api_method; use proxmox_router::list_subdirs_api_method;
use proxmox_sys::{identity, sortable}; use proxmox_sys::sortable;
pub mod tfa; pub mod tfa;
pub mod openid; pub mod openid;

View File

@ -1,7 +1,7 @@
use anyhow::{bail, Error}; use anyhow::{bail, Error};
use serde_json::{json, Value}; use serde_json::{json, Value};
use proxmox_sys::{sortable, identity}; use proxmox_sys::sortable;
use proxmox_router::{ use proxmox_router::{
list_subdirs_api_method, Router, RpcEnvironment, RpcEnvironmentType, SubdirMap, Permission, list_subdirs_api_method, Router, RpcEnvironment, RpcEnvironmentType, SubdirMap, Permission,
}; };

View File

@ -12,7 +12,7 @@ use hyper::Request;
use serde_json::{json, Value}; use serde_json::{json, Value};
use tokio::io::{AsyncBufReadExt, BufReader}; use tokio::io::{AsyncBufReadExt, BufReader};
use proxmox_sys::{identity, sortable}; use proxmox_sys::sortable;
use proxmox_sys::fd::fd_change_cloexec; use proxmox_sys::fd::fd_change_cloexec;
use proxmox_router::{ use proxmox_router::{

View File

@ -3,7 +3,7 @@ use std::process::{Command, Stdio};
use anyhow::{bail, Error}; use anyhow::{bail, Error};
use serde_json::{json, Value}; 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_router::{list_subdirs_api_method, Router, Permission, RpcEnvironment, SubdirMap};
use proxmox_schema::api; use proxmox_schema::api;

View File

@ -4,7 +4,7 @@ use std::io::{BufRead, BufReader};
use anyhow::{bail, Error}; use anyhow::{bail, Error};
use serde_json::{json, Value}; 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_router::{list_subdirs_api_method, Router, RpcEnvironment, Permission, SubdirMap};
use proxmox_schema::api; use proxmox_schema::api;

View File

@ -8,7 +8,7 @@ use hyper::{Body, Response, Request, StatusCode};
use serde_json::Value; use serde_json::Value;
use hex::FromHex; use hex::FromHex;
use proxmox_sys::{identity, sortable}; use proxmox_sys::sortable;
use proxmox_router::{ use proxmox_router::{
http_err, list_subdirs_api_method, ApiHandler, ApiMethod, ApiResponseFuture, Permission, http_err, list_subdirs_api_method, ApiHandler, ApiMethod, ApiResponseFuture, Permission,
Router, RpcEnvironment, SubdirMap, Router, RpcEnvironment, SubdirMap,

View File

@ -6,7 +6,7 @@ use std::collections::HashMap;
use anyhow::{bail, format_err, Error}; use anyhow::{bail, format_err, Error};
use serde_json::Value; use serde_json::Value;
use proxmox_sys::{sortable, identity}; use proxmox_sys::sortable;
use proxmox_router::{ use proxmox_router::{
list_subdirs_api_method, Permission, Router, RpcEnvironment, RpcEnvironmentType, SubdirMap, list_subdirs_api_method, Permission, Router, RpcEnvironment, RpcEnvironmentType, SubdirMap,
}; };