@@ -2,22 +2,15 @@ use std::{fs, num::NonZeroUsize, path::Path, sync::Arc, time::Duration};
2
2
3
3
use futures_util:: StreamExt ;
4
4
#[ cfg( not( target_family = "wasm" ) ) ]
5
- use matrix_sdk:: reqwest:: Certificate ;
5
+ use matrix_sdk:: reqwest:: { Certificate , Proxy } ;
6
6
use matrix_sdk:: {
7
- authentication:: oauth:: qrcode:: { self , DeviceCodeErrorResponseType , LoginFailureReason } ,
8
- crypto:: {
7
+ authentication:: oauth:: qrcode:: { self , DeviceCodeErrorResponseType , LoginFailureReason } , crypto:: {
9
8
types:: qr_login:: { LoginQrCodeDecodeError , QrCodeModeData } ,
10
9
CollectStrategy , TrustRequirement ,
11
- } ,
12
- encryption:: { BackupDownloadStrategy , EncryptionSettings } ,
13
- event_cache:: EventCacheError ,
14
- ruma:: { ServerName , UserId } ,
15
- sliding_sync:: {
10
+ } , encryption:: { BackupDownloadStrategy , EncryptionSettings } , event_cache:: EventCacheError , ruma:: { ServerName , UserId } , sliding_sync:: {
16
11
Error as MatrixSlidingSyncError , VersionBuilder as MatrixSlidingSyncVersionBuilder ,
17
12
VersionBuilderError ,
18
- } ,
19
- Client as MatrixClient , ClientBuildError as MatrixClientBuildError , HttpError , IdParseError ,
20
- RumaApiError , SendOutsideWasm , SyncOutsideWasm ,
13
+ } , Client as MatrixClient , ClientBuildError as MatrixClientBuildError , HttpError , IdParseError , RumaApiError , SendOutsideWasm , SyncOutsideWasm
21
14
} ;
22
15
use matrix_sdk_common:: { runtime:: get_runtime_handle, SendOutsideWasm , SyncOutsideWasm } ;
23
16
use ruma:: api:: error:: { DeserializationError , FromHttpResponseError } ;
0 commit comments