mirror of
https://github.com/actix/actix-extras.git
synced 2025-02-22 10:23:18 +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 std::{convert::TryInto, fmt, future::Future, pin::Pin, rc::Rc};
|
||||||
use serde_json::{Map,Value};
|
|
||||||
use actix_utils::future::{ready, Ready};
|
use actix_utils::future::{ready, Ready};
|
||||||
use actix_web::{
|
use actix_web::{
|
||||||
body::MessageBody,
|
body::MessageBody,
|
||||||
@ -9,6 +9,7 @@ use actix_web::{
|
|||||||
HttpResponse,
|
HttpResponse,
|
||||||
};
|
};
|
||||||
use anyhow::Context;
|
use anyhow::Context;
|
||||||
|
use serde_json::{Map, Value};
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
config::{
|
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_utils::future::{ready, Ready};
|
||||||
use actix_web::{
|
use actix_web::{
|
||||||
body::BoxBody,
|
body::BoxBody,
|
||||||
@ -9,12 +16,6 @@ use anyhow::Context;
|
|||||||
use derive_more::{Display, From};
|
use derive_more::{Display, From};
|
||||||
use serde::de::DeserializeOwned;
|
use serde::de::DeserializeOwned;
|
||||||
use serde_json::{Map, Value};
|
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.
|
/// 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 actix_web::cookie::time::Duration;
|
||||||
use derive_more::Display;
|
use derive_more::Display;
|
||||||
|
use serde_json::{Map, Value};
|
||||||
|
|
||||||
use super::SessionKey;
|
use super::SessionKey;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user