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)]
|
#[cfg(test)]
|
||||||
mod test {
|
mod test {
|
||||||
use std::collections::{hash_map, BTreeMap, HashMap};
|
use std::collections::BTreeMap;
|
||||||
|
|
||||||
use crate::log::{GraphItem, ItemState};
|
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 clap::{Parser, Subcommand};
|
||||||
use hyperlog_core::{commander, state};
|
use hyperlog_core::{commander, state};
|
||||||
use tower_http::trace::TraceLayer;
|
|
||||||
|
|
||||||
use crate::{
|
use crate::server::serve;
|
||||||
server::serve,
|
|
||||||
state::{SharedState, State},
|
|
||||||
};
|
|
||||||
|
|
||||||
#[derive(Parser)]
|
#[derive(Parser)]
|
||||||
#[command(author, version, about, long_about = None, subcommand_required = true)]
|
#[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 axum::{extract::MatchedPath, http::Request, routing::get, Router};
|
||||||
use tower_http::trace::TraceLayer;
|
use tower_http::trace::TraceLayer;
|
||||||
|
|
||||||
use crate::state::{self, SharedState, State};
|
use crate::state::{SharedState, State};
|
||||||
|
|
||||||
async fn root() -> &'static str {
|
async fn root() -> &'static str {
|
||||||
"Hello, hyperlog!"
|
"Hello, hyperlog!"
|
||||||
|
Loading…
Reference in New Issue
Block a user