From f12d4d4aa8b057cb0397f7942bedb402a3e9e755 Mon Sep 17 00:00:00 2001 From: evenbetter Date: Tue, 7 Jun 2022 23:10:29 +0800 Subject: [PATCH] refactor(lib): resolve unused import (#2889) --- src/ext.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ext.rs b/src/ext.rs index 4801b9afa6..0e257a61b7 100644 --- a/src/ext.rs +++ b/src/ext.rs @@ -1,6 +1,7 @@ //! HTTP extensions. use bytes::Bytes; +#[cfg(any(feature = "http1", feature = "ffi"))] use http::header::HeaderName; #[cfg(feature = "http1")] use http::header::{IntoHeaderName, ValueIter};