remove unused imports

This commit is contained in:
liquidex 2024-11-26 22:00:02 +01:00
parent 07419ca702
commit a8773aac63
4 changed files with 4 additions and 5 deletions

View file

@ -2,7 +2,7 @@ use std::{collections::HashMap, ops::ControlFlow};
use anyhow::{anyhow, Context}; use anyhow::{anyhow, Context};
use serde::{Deserialize, Serialize}; use serde::{Deserialize, Serialize};
use tracing::{debug, error, info_span, instrument}; use tracing::{error, info_span, instrument};
use crate::{ use crate::{
html::highlight::{ html::highlight::{

View file

@ -9,7 +9,7 @@ use dir_helper::DirHelper;
use handlebars::{handlebars_helper, Handlebars}; use handlebars::{handlebars_helper, Handlebars};
use include_static_helper::IncludeStaticHelper; use include_static_helper::IncludeStaticHelper;
use serde::Serialize; use serde::Serialize;
use tracing::{debug, error, info, info_span, instrument}; use tracing::{error, info_span, instrument};
use crate::{ use crate::{
config::Config, config::Config,

View file

@ -1,11 +1,10 @@
use std::fs::{self, File}; use std::fs;
use std::path::PathBuf; use std::path::PathBuf;
use std::sync::Arc; use std::sync::Arc;
use anyhow::Context; use anyhow::Context;
use clap::Parser; use clap::Parser;
use tracing::{error, info_span}; use tracing::{error, info_span};
use tracing_subscriber::fmt::format::FmtSpan;
use tracing_subscriber::layer::SubscriberExt as _; use tracing_subscriber::layer::SubscriberExt as _;
use tracing_subscriber::util::SubscriberInitExt as _; use tracing_subscriber::util::SubscriberInitExt as _;
use treehouse::cli::serve::serve; use treehouse::cli::serve::serve;

View file

@ -2,7 +2,7 @@ use std::{fmt, io::Cursor};
use anyhow::Context; use anyhow::Context;
use dashmap::DashMap; use dashmap::DashMap;
use tracing::{debug, info_span, instrument, warn}; use tracing::{info_span, instrument, warn};
use crate::config; use crate::config;