1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-02-21 10:04:49 +01:00

run cargo fmt

This commit is contained in:
zignis 2023-11-19 11:23:36 +05:30
parent 222d0c8dd4
commit 38ba8f85e2
3 changed files with 11 additions and 9 deletions

View File

@ -1,5 +1,5 @@
use std::{ convert::TryInto, fmt, future::Future, pin::Pin, rc::Rc};
use serde_json::{Map,Value};
use std::{convert::TryInto, fmt, future::Future, pin::Pin, rc::Rc};
use actix_utils::future::{ready, Ready};
use actix_web::{
body::MessageBody,
@ -9,6 +9,7 @@ use actix_web::{
HttpResponse,
};
use anyhow::Context;
use serde_json::{Map, Value};
use crate::{
config::{

View File

@ -1,3 +1,10 @@
use std::{
cell::{Ref, RefCell},
error::Error as StdError,
mem,
rc::Rc,
};
use actix_utils::future::{ready, Ready};
use actix_web::{
body::BoxBody,
@ -9,12 +16,6 @@ use anyhow::Context;
use derive_more::{Display, From};
use serde::de::DeserializeOwned;
use serde_json::{Map, Value};
use std::{
cell::{Ref, RefCell},
error::Error as StdError,
mem,
rc::Rc,
};
/// The primary interface to access and modify session state.
///

View File

@ -1,6 +1,6 @@
use serde_json::{Map,Value};
use actix_web::cookie::time::Duration;
use derive_more::Display;
use serde_json::{Map, Value};
use super::SessionKey;