notedeck

One damus client to rule them all
git clone git://jb55.com/notedeck
Log | Files | Refs | README | LICENSE

commit 80c06e4ec44f232b67e388f3675486fe06fcf507
parent ba973cbe1bb814ec13dc0979c9e788e6524b6ca4
Author: William Casarin <jb55@jb55.com>
Date:   Thu,  6 Jul 2023 19:35:45 -0700

pool: fix some warnings when targeting wasm

Diffstat:
Menostr/src/relay/pool.rs | 8+++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/enostr/src/relay/pool.rs b/enostr/src/relay/pool.rs @@ -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> {