refactor: remove unused imports
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
1be3a4fa6c
commit
5327aff217
@ -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};
|
||||
|
||||
|
@ -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)]
|
||||
|
@ -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!"
|
||||
|
Loading…
Reference in New Issue
Block a user