mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-26 00:00:23 +02:00
Reduce dependency on futures-util (#3358)
This commit is contained in:
@@ -39,7 +39,7 @@ use axum::extract::connect_info::ConnectInfo;
|
||||
use axum::extract::ws::CloseFrame;
|
||||
|
||||
//allows to split the websocket stream into separate TX and RX branches
|
||||
use futures::{sink::SinkExt, stream::StreamExt};
|
||||
use futures_util::{sink::SinkExt, stream::StreamExt};
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() {
|
||||
|
||||
Reference in New Issue
Block a user