Skip to content

Commit bda278e

Browse files
committed
[bfops/wasm-test]: revert
1 parent 55f598d commit bda278e

1 file changed

Lines changed: 9 additions & 10 deletions

File tree

sdks/rust/src/websocket.rs

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22
//!
33
//! This module is internal, and may incompatibly change without warning.
44
5+
#[cfg(not(feature = "web"))]
6+
use bytes::Bytes;
7+
#[cfg(not(feature = "web"))]
8+
use futures::TryStreamExt;
9+
use futures::{SinkExt, StreamExt as _};
10+
use futures_channel::mpsc;
11+
use http::uri::{InvalidUri, Scheme, Uri};
12+
use spacetimedb_client_api_messages::websocket as ws;
13+
use spacetimedb_lib::{bsatn, ConnectionId};
514
#[cfg(not(feature = "web"))]
615
use std::fs::File;
716
#[cfg(not(feature = "web"))]
@@ -13,16 +22,6 @@ use std::sync::Arc;
1322
use std::sync::Mutex;
1423
#[cfg(not(feature = "web"))]
1524
use std::time::Duration;
16-
17-
#[cfg(not(feature = "web"))]
18-
use bytes::Bytes;
19-
#[cfg(not(feature = "web"))]
20-
use futures::TryStreamExt;
21-
use futures::{SinkExt, StreamExt as _};
22-
use futures_channel::mpsc;
23-
use http::uri::{InvalidUri, Scheme, Uri};
24-
use spacetimedb_client_api_messages::websocket as ws;
25-
use spacetimedb_lib::{bsatn, ConnectionId};
2625
use thiserror::Error;
2726
#[cfg(not(feature = "web"))]
2827
use tokio::{net::TcpStream, runtime, task::JoinHandle, time::Instant};

0 commit comments

Comments
 (0)