remove unused imports
This commit is contained in:
parent
a5bcd8380f
commit
df24de61cf
|
@ -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());
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue