From 4b62367ce00119e282649d1d8a2e5f650c5af3bd Mon Sep 17 00:00:00 2001 From: Eduardo Trujillo <ed@chromabits.com> Date: Tue, 15 Nov 2022 13:50:18 -0800 Subject: [PATCH] style(config): Remove unused imports --- src/config.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/config.rs b/src/config.rs index 0898feb..d1ed2c6 100644 --- a/src/config.rs +++ b/src/config.rs @@ -2,17 +2,14 @@ use crate::files::directory::{index::IndexStrategy, listing::default_listing_renderer}; use serde_derive::{Deserialize, Serialize}; -use snafu::{ResultExt, Snafu}; +use snafu::Snafu; use std::{ collections::{HashMap, HashSet}, - env, fs, net::SocketAddr, - path::{Path, PathBuf}, + path::PathBuf, sync::Arc, }; -const PKG_NAME: &str = env!("CARGO_PKG_NAME"); - #[derive(Snafu, Debug)] pub enum Error { /// The configuration file could not be found or read. -- GitLab