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:
parent
222d0c8dd4
commit
38ba8f85e2
@ -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::{
|
||||
|
@ -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.
|
||||
///
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user