A better Rust ATProto crate

changing bounds on session store impl

Orual 71aae4e8 d766804e

Changed files
+3 -5
crates
jacquard-common
+3 -5
crates/jacquard-common/src/session.rs
··· 58 58 impl<K, T> SessionStore<K, T> for MemorySessionStore<K, T> 59 59 where 60 60 K: Eq + Hash + Send + Sync, 61 - T: Clone + Send + Sync + 'static, 61 + T: Clone + Send + Sync, 62 62 { 63 63 async fn get(&self, key: &K) -> Option<T> { 64 64 self.0.read().await.get(key).cloned() ··· 104 104 } 105 105 } 106 106 107 - impl< 108 - K: Eq + Hash + Display + Send + Sync + 'static, 109 - T: Clone + Serialize + DeserializeOwned + Send + Sync + 'static, 110 - > SessionStore<K, T> for FileTokenStore 107 + impl<K: Eq + Hash + Display + Send + Sync, T: Clone + Serialize + DeserializeOwned + Send + Sync> 108 + SessionStore<K, T> for FileTokenStore 111 109 { 112 110 /// Get the current session if present. 113 111 async fn get(&self, key: &K) -> Option<T> {