diff --git a/actix-session/CHANGES.md b/actix-session/CHANGES.md index 779d49ed2..7cbff0590 100644 --- a/actix-session/CHANGES.md +++ b/actix-session/CHANGES.md @@ -2,6 +2,10 @@ ## Unreleased +## 0.10.1 + +- Expose `storage::generate_session_key()` without needing to enable a crate feature. + ## 0.10.0 - Add `redis-session-rustls` crate feature that enables `rustls`-secured Redis sessions. diff --git a/actix-session/Cargo.toml b/actix-session/Cargo.toml index c50926b84..b680df12f 100644 --- a/actix-session/Cargo.toml +++ b/actix-session/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "actix-session" -version = "0.10.0" +version = "0.10.1" authors = [ "Nikolay Kim ", "Luca Palmieri ", diff --git a/actix-session/README.md b/actix-session/README.md index 8bbdd3af7..f14c1a875 100644 --- a/actix-session/README.md +++ b/actix-session/README.md @@ -5,9 +5,9 @@ [![crates.io](https://img.shields.io/crates/v/actix-session?label=latest)](https://crates.io/crates/actix-session) -[![Documentation](https://docs.rs/actix-session/badge.svg?version=0.10.0)](https://docs.rs/actix-session/0.10.0) +[![Documentation](https://docs.rs/actix-session/badge.svg?version=0.10.1)](https://docs.rs/actix-session/0.10.1) ![Apache 2.0 or MIT licensed](https://img.shields.io/crates/l/actix-session) -[![Dependency Status](https://deps.rs/crate/actix-session/0.10.0/status.svg)](https://deps.rs/crate/actix-session/0.10.0) +[![Dependency Status](https://deps.rs/crate/actix-session/0.10.1/status.svg)](https://deps.rs/crate/actix-session/0.10.1) diff --git a/actix-session/src/storage/mod.rs b/actix-session/src/storage/mod.rs index 39395f0cb..812fb8d66 100644 --- a/actix-session/src/storage/mod.rs +++ b/actix-session/src/storage/mod.rs @@ -11,12 +11,10 @@ mod utils; #[cfg(feature = "cookie-session")] pub use self::cookie::CookieSessionStore; +#[cfg(feature = "redis-session")] +pub use self::redis_rs::{RedisSessionStore, RedisSessionStoreBuilder}; pub use self::{ interface::{LoadError, SaveError, SessionStore, UpdateError}, session_key::SessionKey, -}; -#[cfg(feature = "redis-session")] -pub use self::{ - redis_rs::{RedisSessionStore, RedisSessionStoreBuilder}, utils::generate_session_key, };