mirror of
https://github.com/aljazceru/notedeck.git
synced 2025-12-31 15:04:21 +01:00
pool: fix some warnings when targeting wasm
This commit is contained in:
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user