3
3
mod compat;
4
4
pub use compat:: CompatMode ;
5
5
6
- #[ cfg( any( feature = "http-client" , feature = "websocket-client" ) ) ]
6
+ #[ cfg( any(
7
+ feature = "http-client" ,
8
+ feature = "websocket-client" ,
9
+ feature = "mock-client"
10
+ ) ) ]
7
11
mod subscription;
8
- #[ cfg( any( feature = "http-client" , feature = "websocket-client" ) ) ]
12
+ #[ cfg( any(
13
+ feature = "http-client" ,
14
+ feature = "websocket-client" ,
15
+ feature = "mock-client"
16
+ ) ) ]
9
17
pub use subscription:: { Subscription , SubscriptionClient } ;
10
18
11
- #[ cfg( any( feature = "http-client" , feature = "websocket-client" ) ) ]
19
+ #[ cfg( any(
20
+ feature = "http-client" ,
21
+ feature = "websocket-client" ,
22
+ feature = "mock-client"
23
+ ) ) ]
12
24
pub mod sync;
13
25
14
- #[ cfg( any( feature = "http-client" , feature = "websocket-client" ) ) ]
26
+ #[ cfg( any(
27
+ feature = "http-client" ,
28
+ feature = "websocket-client" ,
29
+ feature = "mock-client"
30
+ ) ) ]
15
31
mod transport;
16
32
17
33
#[ cfg( feature = "http-client" ) ]
@@ -21,7 +37,7 @@ pub use transport::websocket::{
21
37
self , WebSocketClient , WebSocketClientDriver , WebSocketClientUrl , WebSocketConfig ,
22
38
} ;
23
39
24
- #[ cfg( any ( feature = "http -client" , feature = "websocket-client" ) ) ]
40
+ #[ cfg( feature = "mock -client" ) ]
25
41
pub use transport:: mock:: { MockClient , MockRequestMatcher , MockRequestMethodMatcher } ;
26
42
27
43
use core:: fmt;
0 commit comments