diff --git a/src/book/bookconfig.rs b/src/book/bookconfig.rs index 3d973ed5..107c0a42 100644 --- a/src/book/bookconfig.rs +++ b/src/book/bookconfig.rs @@ -1,5 +1,4 @@ use serde_json; -use serde_json::Value; use std::fs::File; use std::io::Read; use std::path::{Path, PathBuf}; diff --git a/src/book/bookitem.rs b/src/book/bookitem.rs index 19979231..2d5bf976 100644 --- a/src/book/bookitem.rs +++ b/src/book/bookitem.rs @@ -1,6 +1,5 @@ use serde::{Serialize, Serializer}; use std::path::PathBuf; -use std::collections::BTreeMap; #[derive(Debug, Clone)] pub enum BookItem { diff --git a/src/renderer/html_handlebars/hbs_renderer.rs b/src/renderer/html_handlebars/hbs_renderer.rs index 6d9a0a6b..6b0c2ab9 100644 --- a/src/renderer/html_handlebars/hbs_renderer.rs +++ b/src/renderer/html_handlebars/hbs_renderer.rs @@ -12,7 +12,6 @@ use std::collections::BTreeMap; use handlebars::Handlebars; -use serde::Serialize; use serde_json; use serde_json::value::ToJson;