From caa5dbc5b351ba28e4a3c2a7c8932325cd3a9fc2 Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Mon, 29 Jul 2024 21:50:12 +0100 Subject: [PATCH] chore: fix re-exports --- actix-session/src/storage/mod.rs | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/actix-session/src/storage/mod.rs b/actix-session/src/storage/mod.rs index 8c0dd5b11..b3fba4a00 100644 --- a/actix-session/src/storage/mod.rs +++ b/actix-session/src/storage/mod.rs @@ -1,19 +1,11 @@ //! Pluggable storage backends for session state. -mod interface; -mod session_key; - -pub use self::{ - interface::{LoadError, SaveError, SessionStore, UpdateError}, - session_key::SessionKey, -}; - #[cfg(feature = "cookie-session")] mod cookie; - +mod interface; #[cfg(feature = "redis-session")] mod redis_rs; - +mod session_key; #[cfg(feature = "redis-session")] mod utils; @@ -23,3 +15,7 @@ pub use self::cookie::CookieSessionStore; pub use self::redis_rs::{RedisSessionStore, RedisSessionStoreBuilder}; #[cfg(feature = "redis-session")] pub use self::utils::generate_session_key; +pub use self::{ + interface::{LoadError, SaveError, SessionStore, UpdateError}, + session_key::SessionKey, +};