From 8cfeeef37e41db8a0f8df03cb03d80b2de3052d7 Mon Sep 17 00:00:00 2001 From: bkioshn Date: Fri, 26 Jan 2024 15:25:55 +0700 Subject: [PATCH] fix: rust format --- .../bin/src/service/utilities/middleware/tracing_mw.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/catalyst-gateway/bin/src/service/utilities/middleware/tracing_mw.rs b/catalyst-gateway/bin/src/service/utilities/middleware/tracing_mw.rs index 3a0ccca7e65..10e8eb0c4ca 100644 --- a/catalyst-gateway/bin/src/service/utilities/middleware/tracing_mw.rs +++ b/catalyst-gateway/bin/src/service/utilities/middleware/tracing_mw.rs @@ -5,8 +5,10 @@ use cpu_time::ProcessTime; // ThreadTime doesn't work. use cryptoxide::{blake2b::Blake2b, digest::Digest}; use lazy_static::lazy_static; use poem::{ - async_trait, http::HeaderMap, web::RealIp, Endpoint, Error, FromRequest, IntoResponse, - Middleware, PathPattern, Request, Response, Result, http::header + async_trait, + http::{header, HeaderMap}, + web::RealIp, + Endpoint, Error, FromRequest, IntoResponse, Middleware, PathPattern, Request, Response, Result, }; use poem_openapi::OperationId; use prometheus::{