chore: cargo fix

This commit is contained in:
hexlocation 2025-08-02 20:43:23 +02:00
parent 89df8c684b
commit 8092c07ee6
5 changed files with 16 additions and 31 deletions

View file

@ -1,13 +1,11 @@
use std::{net::IpAddr, pin::Pin, sync::Arc};
use std::{net::IpAddr, sync::Arc};
use async_trait::async_trait;
use base64::{Engine, prelude::BASE64_STANDARD};
use http::request::Parts;
use http_body_util::BodyExt;
use hyper::{
Method, Request, StatusCode,
body::{self, Incoming},
service::Service,
Request, StatusCode,
body::Incoming,
};
use json::JsonValue;
use log::{debug, error, warn};
@ -15,10 +13,10 @@ use tokio::{net::TcpStream, sync::Mutex};
use crate::{
config::{Client, Config},
db::{BoxyDatabase, Endpoint},
db::BoxyDatabase,
routes::api::{AddHost, RegisterEndpoint, RemoveHost},
server::{GeneralResponse, TcpIntercept, custom_resp, default_response, json_to_vec},
services::matcher::{Matcher, MatcherService},
server::{GeneralResponse, custom_resp},
services::matcher::Matcher,
};
#[derive(Debug, Clone)]