Skip to content

Commit 0be7d8a

Browse files
committed
drop supertrait requirements on SessionStore
with this change, frameworks can specify if they need any or all of these constraints, like `SessionStore + Send + Sync + 'static`
1 parent bbc072d commit 0be7d8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/session_store.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use crate::{async_trait, Result, Session};
22

33
/// An async session backend.
44
#[async_trait]
5-
pub trait SessionStore: std::fmt::Debug + Send + Sync + Clone + 'static {
5+
pub trait SessionStore {
66
/// Get a session from the storage backend.
77
///
88
/// The input is expected to be the value of an identifying

0 commit comments

Comments
 (0)