mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-27 00:00:24 +02:00
Reduce dependency on futures-util (#3358)
This commit is contained in:
@@ -7,7 +7,7 @@ publish = false
|
||||
[dependencies]
|
||||
axum = { path = "../../axum" }
|
||||
axum-extra = { path = "../../axum-extra", features = ["typed-header"] }
|
||||
futures = "0.3"
|
||||
futures-util = { version = "0.3", default-features = false, features = ["sink", "std"] }
|
||||
headers = "0.4"
|
||||
tokio = { version = "1.0", features = ["full"] }
|
||||
tokio-stream = "0.1"
|
||||
|
||||
@@ -14,7 +14,7 @@ use axum::{
|
||||
Router,
|
||||
};
|
||||
use axum_extra::TypedHeader;
|
||||
use futures::stream::{self, Stream};
|
||||
use futures_util::stream::{self, Stream};
|
||||
use std::{convert::Infallible, path::PathBuf, time::Duration};
|
||||
use tokio_stream::StreamExt as _;
|
||||
use tower_http::{services::ServeDir, trace::TraceLayer};
|
||||
|
||||
Reference in New Issue
Block a user