From f9b577cf63a415760eac2096470f6b429c54ad78 Mon Sep 17 00:00:00 2001 From: hatoo Date: Fri, 8 Nov 2024 00:35:38 +0900 Subject: [PATCH] clean --- src/lib.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index baf610c..26c57e4 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,6 +1,5 @@ #![doc = include_str!("../README.md")] -use bytes::Bytes; use http_body_util::{combinators::BoxBody, BodyExt, Empty}; use hyper::{ body::{Body, Incoming}, @@ -10,7 +9,7 @@ use hyper::{ }; use hyper_util::rt::{TokioExecutor, TokioIo}; use moka::sync::Cache; -use std::{borrow::Borrow, convert::Infallible, future::Future, sync::Arc}; +use std::{borrow::Borrow, future::Future, sync::Arc}; use tls::{generate_cert, CertifiedKeyDer}; use tokio::net::{TcpListener, TcpStream, ToSocketAddrs};