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 serde::{Deserialize, Serialize};
use tracing::{debug, error, info_span, instrument};
use tracing::{error, info_span, instrument};
use crate::{
html::highlight::{

View file

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

View file

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

View file

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