1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-01-22 14:55:56 +01:00

chore: fix re-exports

This commit is contained in:
Rob Ede 2024-07-29 21:50:12 +01:00
parent c259e715f8
commit caa5dbc5b3
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933

View File

@ -1,19 +1,11 @@
//! Pluggable storage backends for session state. //! 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")] #[cfg(feature = "cookie-session")]
mod cookie; mod cookie;
mod interface;
#[cfg(feature = "redis-session")] #[cfg(feature = "redis-session")]
mod redis_rs; mod redis_rs;
mod session_key;
#[cfg(feature = "redis-session")] #[cfg(feature = "redis-session")]
mod utils; mod utils;
@ -23,3 +15,7 @@ pub use self::cookie::CookieSessionStore;
pub use self::redis_rs::{RedisSessionStore, RedisSessionStoreBuilder}; pub use self::redis_rs::{RedisSessionStore, RedisSessionStoreBuilder};
#[cfg(feature = "redis-session")] #[cfg(feature = "redis-session")]
pub use self::utils::generate_session_key; pub use self::utils::generate_session_key;
pub use self::{
interface::{LoadError, SaveError, SessionStore, UpdateError},
session_key::SessionKey,
};