refactor: remove unused imports

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2024-04-30 20:37:15 +02:00
parent 1be3a4fa6c
commit 5327aff217
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912
3 changed files with 4 additions and 12 deletions

View File

@ -96,7 +96,7 @@ impl DerefMut for Graph {
#[cfg(test)]
mod test {
use std::collections::{hash_map, BTreeMap, HashMap};
use std::collections::BTreeMap;
use crate::log::{GraphItem, ItemState};

View File

@ -1,17 +1,9 @@
use std::{net::SocketAddr, ops::Deref, sync::Arc};
use std::net::SocketAddr;
use axum::extract::MatchedPath;
use axum::http::Request;
use axum::routing::get;
use axum::Router;
use clap::{Parser, Subcommand};
use hyperlog_core::{commander, state};
use tower_http::trace::TraceLayer;
use crate::{
server::serve,
state::{SharedState, State},
};
use crate::server::serve;
#[derive(Parser)]
#[command(author, version, about, long_about = None, subcommand_required = true)]

View File

@ -3,7 +3,7 @@ use std::{net::SocketAddr, sync::Arc};
use axum::{extract::MatchedPath, http::Request, routing::get, Router};
use tower_http::trace::TraceLayer;
use crate::state::{self, SharedState, State};
use crate::state::{SharedState, State};
async fn root() -> &'static str {
"Hello, hyperlog!"