diff --git a/actix-limitation/CHANGES.md b/actix-limitation/CHANGES.md index 4070cb196..d914e8f89 100644 --- a/actix-limitation/CHANGES.md +++ b/actix-limitation/CHANGES.md @@ -1,6 +1,7 @@ # Changes ## Unreleased - 2022-xx-xx +- Updated `session-session` dependency to `0.7`. ## 0.2.0 - 2022-03-22 diff --git a/actix-limitation/Cargo.toml b/actix-limitation/Cargo.toml index 912b7c161..64596fffc 100644 --- a/actix-limitation/Cargo.toml +++ b/actix-limitation/Cargo.toml @@ -13,7 +13,7 @@ license = "MIT OR Apache-2.0" edition = "2018" [dependencies] -actix-session = "0.5" +actix-session = "0.7" actix-utils = "3" actix-web = { version = "4", default-features = false } diff --git a/actix-limitation/src/middleware.rs b/actix-limitation/src/middleware.rs index cf46cddca..2acdb776a 100644 --- a/actix-limitation/src/middleware.rs +++ b/actix-limitation/src/middleware.rs @@ -1,6 +1,6 @@ use std::{future::Future, pin::Pin, rc::Rc}; -use actix_session::UserSession; +use actix_session::SessionExt as _; use actix_utils::future::{ok, Ready}; use actix_web::{ body::EitherBody,