Remove some unnecessary dependencies

This commit is contained in:
David Pedersen
2021-06-08 22:27:38 +02:00
parent 1cf78fa807
commit 21872c9f7a
3 changed files with 20 additions and 18 deletions
+1 -1
View File
@@ -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 =