diff --git a/Cargo.toml b/Cargo.toml index 65ad1e62..e8375300 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -41,6 +41,7 @@ ws = { version = "0.7", optional = true} # Tests [dev-dependencies] tempdir = "0.3.4" +pretty_assertions = "0.2.1" [build-dependencies] error-chain = "0.10" diff --git a/src/lib.rs b/src/lib.rs index 16ac0ed7..8eac6b46 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -76,13 +76,17 @@ extern crate serde_derive; extern crate serde; #[macro_use] extern crate serde_json; +#[macro_use] +extern crate log; extern crate handlebars; extern crate pulldown_cmark; extern crate regex; +#[cfg(test)] #[macro_use] -extern crate log; +extern crate pretty_assertions; + pub mod book; pub mod config; mod parse;