diff --git a/Cargo.lock b/Cargo.lock index 9e656fa..913be78 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -22,7 +22,6 @@ dependencies = [ "simplelog 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", "syntect 1.7.3 (registry+https://github.com/rust-lang/crates.io-index)", "tempdir 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)", - "term 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", "url 1.5.1 (registry+https://github.com/rust-lang/crates.io-index)", "uuid 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", "walkdir 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/Cargo.toml b/Cargo.toml index 742eff5..92e00b6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,9 +14,7 @@ build = "build.rs" exclude = [ "docs/*", - "img/*", - "config.book", - "book_example/*", + "/img/*", "ci/*", ".travis.yml", "appveyor.yml", @@ -39,7 +37,7 @@ doc = false [features] default = ["binary", "proofread", "syntect"] proofread = ["caribon", "hyper", "url"] -binary = ["clap", "simplelog", "tempdir"] +binary = ["clap", "simplelog", "tempdir", "console"] [build-dependencies] crowbook-intl = "0.2" @@ -55,13 +53,12 @@ rustc-serialize = "0.3" rayon = "0.8" crowbook-text-processing = "^0.2.6" lazy_static = "0.2.1" -term = "0.4" crowbook-intl-runtime = "0.1" numerals = "0.1" epub-builder = "0.3" log = "0.3" -console = "0.5" indicatif = "0.7" +console = { version = "0.5", optional = true } caribon = { version = "0.8", optional = true } clap = { version = "2.19", optional = true } simplelog = { version = "0.4", optional = true }