From df24de61cf4d6e1e5932c4b8536b1e38986c92cb Mon Sep 17 00:00:00 2001 From: kitsunecafe <10284516+kitsunecafe@users.noreply.github.com> Date: Wed, 24 Jan 2024 15:46:20 -0500 Subject: [PATCH] remove unused imports --- src/main.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main.rs b/src/main.rs index 820372a..e715ba5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,12 +1,10 @@ use clap::Parser as Clap; -use serde::Serialize; use std::{ fs::File, io::{BufReader, Error, ErrorKind, Read}, path::{self, Path, PathBuf, StripPrefixError}, - str::FromStr, }; -use toml::{Table, Value}; +use toml::Table; use glob::{glob, PatternError}; use roxy_core::roxy::{Html, Markdown, Parser, Roxy}; @@ -154,7 +152,6 @@ fn main() -> Result<(), RoxyError> { context.insert(&path.strip_prefix(&file_path.root_dir).unwrap(), toml); } - let mut parser = Parser::new(); parser.push(Markdown::new());