mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-28 00:00:20 +02:00
Update sync_wrapper to 1.0.0 from 0.1.1
... and fix CI.
This commit is contained in:
@@ -13,7 +13,7 @@ use axum::{
|
||||
routing::get,
|
||||
Router,
|
||||
};
|
||||
use axum_extra::{headers, TypedHeader};
|
||||
use axum_extra::TypedHeader;
|
||||
use futures::stream::{self, Stream};
|
||||
use std::{convert::Infallible, path::PathBuf, time::Duration};
|
||||
use tokio_stream::StreamExt as _;
|
||||
|
||||
@@ -60,7 +60,6 @@ mod tests {
|
||||
};
|
||||
use http_body_util::BodyExt; // for `collect`
|
||||
use serde_json::{json, Value};
|
||||
use std::net::SocketAddr;
|
||||
use tokio::net::TcpListener;
|
||||
use tower::{Service, ServiceExt}; // for `call`, `oneshot`, and `ready`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user