diff --git a/crates/treehouse/src/config.rs b/crates/treehouse/src/config.rs index 77add2d..a3de9a8 100644 --- a/crates/treehouse/src/config.rs +++ b/crates/treehouse/src/config.rs @@ -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::{ diff --git a/crates/treehouse/src/generate.rs b/crates/treehouse/src/generate.rs index 87cef80..ce4de73 100644 --- a/crates/treehouse/src/generate.rs +++ b/crates/treehouse/src/generate.rs @@ -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, diff --git a/crates/treehouse/src/main.rs b/crates/treehouse/src/main.rs index 5bc08a0..dd0fc61 100644 --- a/crates/treehouse/src/main.rs +++ b/crates/treehouse/src/main.rs @@ -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; diff --git a/crates/treehouse/src/vfs/image_size_cache.rs b/crates/treehouse/src/vfs/image_size_cache.rs index 19466f7..2f33264 100644 --- a/crates/treehouse/src/vfs/image_size_cache.rs +++ b/crates/treehouse/src/vfs/image_size_cache.rs @@ -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;