Remove tungstenite dev-dependency

Use re-export from async-tungstenite.
This commit is contained in:
Taiki Endo 2023-08-06 16:22:57 +09:00
parent c428a2b225
commit 8a67449e06
3 changed files with 2 additions and 3 deletions

View File

@ -43,7 +43,6 @@ signal-hook = "0.3"
surf = { version = "2", default-features = false, features = ["h1-client"] }
tempfile = "3"
tokio = { version = "1", default-features = false, features = ["rt-multi-thread"] }
tungstenite = "0.19"
url = "2"
[target.'cfg(target_os = "linux")'.dev-dependencies]

View File

@ -18,7 +18,7 @@ use std::task::{Context, Poll};
use anyhow::{bail, Context as _, Result};
use async_native_tls::{Certificate, TlsConnector, TlsStream};
use async_tungstenite::WebSocketStream;
use async_tungstenite::{tungstenite, WebSocketStream};
use futures::sink::{Sink, SinkExt};
use smol::{prelude::*, Async};
use tungstenite::handshake::client::Response;

View File

@ -18,7 +18,7 @@ use std::task::{Context, Poll};
use anyhow::{Context as _, Result};
use async_native_tls::{Identity, TlsAcceptor, TlsStream};
use async_tungstenite::WebSocketStream;
use async_tungstenite::{tungstenite, WebSocketStream};
use futures::sink::{Sink, SinkExt};
use smol::{future, prelude::*, Async};
use tungstenite::Message;