Skip to content

Commit

Permalink
Improve Context and add several interface functions.
Browse files Browse the repository at this point in the history
  • Loading branch information
wa5i committed Sep 18, 2024
1 parent aa85b17 commit aba43e2
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/logical/field.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
1 change: 1 addition & 0 deletions src/logical/response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion src/modules/auth/token_store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion src/modules/kv/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down
2 changes: 1 addition & 1 deletion src/modules/system/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit aba43e2

Please sign in to comment.