remove unused imports
This commit is contained in:
parent
07419ca702
commit
a8773aac63
|
@ -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::{
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue