mirror of https://github.com/stjepang/smol
Remove tungstenite dev-dependency
Use re-export from async-tungstenite.
This commit is contained in:
parent
c428a2b225
commit
2a8a18b677
|
@ -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]
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue