Feature-gate handshakes / communication test

This commit is contained in:
Daniel Abramov 2022-11-28 23:36:58 +01:00 committed by Sebastian Dröge
parent 1dd92fc13a
commit e730269144
2 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,5 @@
#![cfg(feature = "handshake")]
use async_std::net::{TcpListener, TcpStream};
use async_std::task;
use async_tungstenite::{accept_async, client_async, WebSocketStream};

View File

@ -1,3 +1,5 @@
#![cfg(feature = "handshake")]
use async_std::net::{TcpListener, TcpStream};
use async_std::task;
use async_tungstenite::{accept_async, client_async};