mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-27 00:00:24 +02:00
Remove some unnecessary dependencies
This commit is contained in:
+1
-1
@@ -6,7 +6,6 @@ use futures_util::{future, ready};
|
||||
use http::{Method, Request, Response, StatusCode, Uri};
|
||||
use http_body::Full;
|
||||
use hyper::Body;
|
||||
use itertools::Itertools;
|
||||
use pin_project::pin_project;
|
||||
use regex::Regex;
|
||||
use std::{
|
||||
@@ -394,6 +393,7 @@ impl PathPattern {
|
||||
Cow::Borrowed(part)
|
||||
}
|
||||
})
|
||||
.collect::<Vec<_>>()
|
||||
.join("/");
|
||||
|
||||
let full_path_regex =
|
||||
|
||||
Reference in New Issue
Block a user