mirror of
https://github.com/actix/actix-extras.git
synced 2025-01-22 23:05:56 +01:00
redis: Minimize futures
dependency
This commit is contained in:
parent
2e3a094ef7
commit
b699506526
@ -1,5 +1,9 @@
|
||||
# Changes
|
||||
|
||||
## unreleased
|
||||
|
||||
* Minimize `futures` dependency
|
||||
|
||||
## [0.9.0-alpha.2]
|
||||
|
||||
* Add `cookie_http_only` functionality to RedisSession builder, setting this
|
||||
|
@ -30,7 +30,7 @@ actix-utils = "1.0.3"
|
||||
log = "0.4.6"
|
||||
backoff = "0.1.5"
|
||||
derive_more = "0.99.2"
|
||||
futures = "0.3.1"
|
||||
futures-util = { version = "0.3.5", default-features = false }
|
||||
redis-async = "0.6.1"
|
||||
actix-rt = "1.0.0"
|
||||
time = "0.2.9"
|
||||
|
@ -6,7 +6,7 @@ use actix::prelude::*;
|
||||
use actix_utils::oneshot;
|
||||
use backoff::backoff::Backoff;
|
||||
use backoff::ExponentialBackoff;
|
||||
use futures::FutureExt;
|
||||
use futures_util::FutureExt;
|
||||
use redis_async::error::Error as RespError;
|
||||
use redis_async::resp::{RespCodec, RespValue};
|
||||
use tokio::io::{split, WriteHalf};
|
||||
|
@ -10,7 +10,7 @@ use actix_web::cookie::{Cookie, CookieJar, Key, SameSite};
|
||||
use actix_web::dev::{ServiceRequest, ServiceResponse};
|
||||
use actix_web::http::header::{self, HeaderValue};
|
||||
use actix_web::{error, Error, HttpMessage};
|
||||
use futures::future::{ok, Future, Ready};
|
||||
use futures_util::future::{ok, Future, Ready};
|
||||
use rand::{distributions::Alphanumeric, rngs::OsRng, Rng};
|
||||
use redis_async::resp::RespValue;
|
||||
use time::{self, Duration, OffsetDateTime};
|
||||
|
Loading…
x
Reference in New Issue
Block a user