Change typedef to only compile with feature client
This commit is contained in:
parent
5ae0521e8e
commit
b84d4519b7
|
@ -17,9 +17,9 @@
|
|||
#[cfg(all(feature = "rt", feature = "rt_multi_thread"))]
|
||||
compile_error!("feature \"rt\" and feature \"rt_multi_thread\" cannot be enabled at the same time");
|
||||
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
#[cfg(all(not(target_arch = "wasm32"), feature = "client"))]
|
||||
pub type Gateway = DefaultGateway;
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
#[cfg(all(not(target_arch = "wasm32"), feature = "client"))]
|
||||
pub type GatewayHandle = DefaultGatewayHandle;
|
||||
|
||||
use gateway::DefaultGateway;
|
||||
|
|
Loading…
Reference in New Issue