diff --git a/src/logical/field.rs b/src/logical/field.rs index 7965f25..2800b6c 100644 --- a/src/logical/field.rs +++ b/src/logical/field.rs @@ -5,7 +5,6 @@ use humantime::parse_duration; use serde::{Deserialize, Serialize}; use serde_json::{json, Value}; use strum::{Display, EnumString}; -use humantime::parse_duration; use crate::errors::RvError; diff --git a/src/logical/response.rs b/src/logical/response.rs index 6ec1fc8..e4c7f11 100644 --- a/src/logical/response.rs +++ b/src/logical/response.rs @@ -3,7 +3,6 @@ use std::collections::HashMap; use lazy_static::lazy_static; use serde::{Deserialize, Serialize}; use serde_json::{json, Map, Value}; -use lazy_static::lazy_static; use crate::{ errors::RvError, diff --git a/src/modules/auth/token_store.rs b/src/modules/auth/token_store.rs index 2649201..dfeeae4 100644 --- a/src/modules/auth/token_store.rs +++ b/src/modules/auth/token_store.rs @@ -13,7 +13,7 @@ use super::{ use crate::{ context::Context, core::Core, - context::Context, errors::RvError, + errors::RvError, handler::Handler, logical::{ Auth, Backend, Field, FieldType, Lease, LogicalBackend, Operation, Path, PathOperation, Request, Response, diff --git a/src/modules/kv/mod.rs b/src/modules/kv/mod.rs index a9c1ec1..13a7be5 100644 --- a/src/modules/kv/mod.rs +++ b/src/modules/kv/mod.rs @@ -14,7 +14,7 @@ use serde_json::{Map, Value}; use crate::{ context::Context, core::Core, - context::Context, errors::RvError, + errors::RvError, logical::{ secret::Secret, Backend, Field, FieldType, LogicalBackend, Operation, Path, PathOperation, Request, Response, }, diff --git a/src/modules/system/mod.rs b/src/modules/system/mod.rs index 3e0eb5f..b35945a 100644 --- a/src/modules/system/mod.rs +++ b/src/modules/system/mod.rs @@ -13,7 +13,7 @@ use serde_json::{from_value, json, Map, Value}; use crate::{ context::Context, core::Core, - context::Context, errors::RvError, + errors::RvError, logical::{Backend, Field, FieldType, LogicalBackend, Operation, Path, PathOperation, Request, Response}, modules::{auth::AuthModule, Module}, mount::MountEntry,