Skip to content

Commit 05353b7

Browse files
Turn off unit tests without features
1 parent fb27c81 commit 05353b7

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

tests/communication.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![cfg(feature = "handshake")]
2+
13
use futures_util::{SinkExt, StreamExt};
24
use log::*;
35
use tokio::{

tests/handshakes.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![cfg(feature = "handshake")]
2+
13
use tokio::net::{TcpListener, TcpStream};
24
use tokio_tungstenite::{accept_async, client_async};
35

0 commit comments

Comments
 (0)