diff --git a/src/logical/field.rs b/src/logical/field.rs index 2800b6c..7965f25 100644 --- a/src/logical/field.rs +++ b/src/logical/field.rs @@ -5,6 +5,7 @@ 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 e4c7f11..6ec1fc8 100644 --- a/src/logical/response.rs +++ b/src/logical/response.rs @@ -3,6 +3,7 @@ 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 dfeeae4..2649201 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, - errors::RvError, + context::Context, 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 13a7be5..a9c1ec1 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, - errors::RvError, + context::Context, 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 b35945a..3e0eb5f 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, - errors::RvError, + context::Context, errors::RvError, logical::{Backend, Field, FieldType, LogicalBackend, Operation, Path, PathOperation, Request, Response}, modules::{auth::AuthModule, Module}, mount::MountEntry,