From afeabb1cb441a48e01ff4e115f3722ceb919066b Mon Sep 17 00:00:00 2001 From: Jeremy Wall Date: Mon, 29 Aug 2022 18:09:45 -0400 Subject: [PATCH] Cleanup unused imports --- kitchen/src/web/mod.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/kitchen/src/web/mod.rs b/kitchen/src/web/mod.rs index 82ba460..daeb2e5 100644 --- a/kitchen/src/web/mod.rs +++ b/kitchen/src/web/mod.rs @@ -11,7 +11,6 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -use std::iter::once; use std::net::SocketAddr; use std::path::PathBuf; use std::sync::Arc; @@ -21,13 +20,12 @@ use axum::{ extract::{Extension, Path}, http::{header, StatusCode}, response::{IntoResponse, Redirect, Response}, - routing::{any, get, post, Router}, + routing::{get, Router}, }; use mime_guess; use recipe_store::{self, RecipeEntry, RecipeStore}; use rust_embed::RustEmbed; use tower::ServiceBuilder; -use tower_http::sensitive_headers::SetSensitiveRequestHeadersLayer; use tower_http::trace::TraceLayer; use tracing::{debug, info, instrument};