@@ -2,7 +2,6 @@ use super::{Session, SessionStore};
2
2
use crate :: did_doc:: DidDocument ;
3
3
use crate :: types:: string:: Did ;
4
4
use crate :: types:: TryFromUnknown ;
5
- use async_trait:: async_trait;
6
5
use atrium_xrpc:: error:: { Error , Result , XrpcErrorKind } ;
7
6
use atrium_xrpc:: { HttpClient , OutputDataOrBytes , XrpcClient , XrpcRequest } ;
8
7
use http:: { Method , Request , Response , Uri } ;
@@ -51,8 +50,6 @@ impl<S, T> Clone for WrapperClient<S, T> {
51
50
}
52
51
}
53
52
54
- #[ cfg_attr( target_arch = "wasm32" , async_trait( ?Send ) ) ]
55
- #[ cfg_attr( not( target_arch = "wasm32" ) , async_trait) ]
56
53
impl < S , T > HttpClient for WrapperClient < S , T >
57
54
where
58
55
S : Send + Sync ,
67
64
}
68
65
}
69
66
70
- #[ cfg_attr( target_arch = "wasm32" , async_trait( ?Send ) ) ]
71
- #[ cfg_attr( not( target_arch = "wasm32" ) , async_trait) ]
72
67
impl < S , T > XrpcClient for WrapperClient < S , T >
73
68
where
74
69
S : SessionStore + Send + Sync ,
@@ -231,8 +226,6 @@ where
231
226
}
232
227
}
233
228
234
- #[ cfg_attr( target_arch = "wasm32" , async_trait( ?Send ) ) ]
235
- #[ cfg_attr( not( target_arch = "wasm32" ) , async_trait) ]
236
229
impl < S , T > HttpClient for Client < S , T >
237
230
where
238
231
S : Send + Sync ,
@@ -247,8 +240,6 @@ where
247
240
}
248
241
}
249
242
250
- #[ cfg_attr( target_arch = "wasm32" , async_trait( ?Send ) ) ]
251
- #[ cfg_attr( not( target_arch = "wasm32" ) , async_trait) ]
252
243
impl < S , T > XrpcClient for Client < S , T >
253
244
where
254
245
S : SessionStore + Send + Sync ,
@@ -321,8 +312,6 @@ impl<S> Store<S> {
321
312
}
322
313
}
323
314
324
- #[ cfg_attr( target_arch = "wasm32" , async_trait( ?Send ) ) ]
325
- #[ cfg_attr( not( target_arch = "wasm32" ) , async_trait) ]
326
315
impl < S > SessionStore for Store < S >
327
316
where
328
317
S : SessionStore + Send + Sync ,
0 commit comments