remove unused imports

This commit is contained in:
kitsunecafe 2024-01-24 15:46:20 -05:00
parent a5bcd8380f
commit df24de61cf

View file

@ -1,12 +1,10 @@
use clap::Parser as Clap; use clap::Parser as Clap;
use serde::Serialize;
use std::{ use std::{
fs::File, fs::File,
io::{BufReader, Error, ErrorKind, Read}, io::{BufReader, Error, ErrorKind, Read},
path::{self, Path, PathBuf, StripPrefixError}, path::{self, Path, PathBuf, StripPrefixError},
str::FromStr,
}; };
use toml::{Table, Value}; use toml::Table;
use glob::{glob, PatternError}; use glob::{glob, PatternError};
use roxy_core::roxy::{Html, Markdown, Parser, Roxy}; 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); context.insert(&path.strip_prefix(&file_path.root_dir).unwrap(), toml);
} }
let mut parser = Parser::new(); let mut parser = Parser::new();
parser.push(Markdown::new()); parser.push(Markdown::new());