Change typedef to only compile with feature client

This commit is contained in:
bitfl0wer 2023-11-15 22:31:44 +01:00
parent 5ae0521e8e
commit b84d4519b7
1 changed files with 2 additions and 2 deletions

View File

@ -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;