pool: fix some warnings when targeting wasm

This commit is contained in:
William Casarin
2023-07-06 19:35:45 -07:00
parent ba973cbe1b
commit 80c06e4ec4

View File

@@ -1,8 +1,14 @@
use crate::relay::message::RelayEvent;
use crate::relay::Relay;
use crate::{ClientMessage, Result};
#[cfg(not(target_arch = "wasm32"))]
use ewebsock::WsMessage;
use tracing::{debug, error};
#[cfg(not(target_arch = "wasm32"))]
use tracing::debug;
use tracing::error;
#[derive(Debug)]
pub struct PoolEvent<'a> {