2015-07-06 20:21:59 +08:00
|
|
|
[package]
|
|
|
|
name = "mdbook"
|
2016-08-02 06:58:08 +08:00
|
|
|
version = "0.0.14"
|
2015-07-06 20:21:59 +08:00
|
|
|
authors = ["Mathieu David <mathieudavid@mathieudavid.org>"]
|
2015-08-07 05:37:44 +08:00
|
|
|
description = "create books from markdown files (like Gitbook)"
|
|
|
|
documentation = "http://azerupi.github.io/mdBook/index.html"
|
|
|
|
repository = "https://github.com/azerupi/mdBook"
|
|
|
|
keywords = ["book", "gitbook", "rustbook", "markdown"]
|
2015-08-11 22:13:41 +08:00
|
|
|
license = "MPL-2.0"
|
2015-08-07 05:37:44 +08:00
|
|
|
readme = "README.md"
|
2015-09-18 18:05:55 +08:00
|
|
|
build = "build.rs"
|
2015-08-07 05:37:44 +08:00
|
|
|
exclude = [
|
|
|
|
"book-example/*",
|
2015-09-27 20:38:37 +08:00
|
|
|
"src/theme/stylus",
|
2015-08-07 05:37:44 +08:00
|
|
|
]
|
2015-07-07 03:12:24 +08:00
|
|
|
|
|
|
|
[dependencies]
|
2016-03-20 00:45:58 +08:00
|
|
|
clap = "2.2.1"
|
2016-08-01 20:06:08 +08:00
|
|
|
handlebars = "0.20.0"
|
2016-03-20 00:45:58 +08:00
|
|
|
rustc-serialize = "0.3.18"
|
2016-08-01 20:06:08 +08:00
|
|
|
pulldown-cmark = "0.0.8"
|
2015-08-04 00:06:01 +08:00
|
|
|
|
2015-11-09 21:31:00 +08:00
|
|
|
# Watch feature
|
2016-03-28 06:20:17 +08:00
|
|
|
notify = { version = "2.5.5", optional = true }
|
2016-03-20 00:45:58 +08:00
|
|
|
time = { version = "0.1.34", optional = true }
|
2016-03-02 01:32:43 +08:00
|
|
|
crossbeam = { version = "0.2.8", optional = true }
|
2015-11-09 21:31:00 +08:00
|
|
|
|
2016-04-02 10:46:05 +08:00
|
|
|
# Serve feature
|
2016-08-01 20:06:08 +08:00
|
|
|
iron = { version = "0.4", optional = true }
|
|
|
|
staticfile = { version = "0.3", optional = true }
|
|
|
|
ws = { version = "0.5.1", optional = true}
|
2016-04-02 10:46:05 +08:00
|
|
|
|
2015-12-29 20:40:13 +08:00
|
|
|
|
2015-11-09 21:31:00 +08:00
|
|
|
# Tests
|
2015-08-06 21:04:27 +08:00
|
|
|
[dev-dependencies]
|
2016-03-02 01:32:43 +08:00
|
|
|
tempdir = "0.3.4"
|
2015-08-06 21:04:27 +08:00
|
|
|
|
2015-09-27 20:38:37 +08:00
|
|
|
|
2015-08-04 00:06:01 +08:00
|
|
|
[features]
|
2016-04-02 10:46:05 +08:00
|
|
|
default = ["output", "watch", "serve"]
|
2015-08-04 00:06:01 +08:00
|
|
|
debug = []
|
2015-08-04 23:13:24 +08:00
|
|
|
output = []
|
2015-09-24 21:37:20 +08:00
|
|
|
regenerate-css = []
|
2015-12-29 20:40:13 +08:00
|
|
|
watch = ["notify", "time", "crossbeam"]
|
2016-04-03 02:04:51 +08:00
|
|
|
serve = ["iron", "staticfile", "ws"]
|
2015-08-06 18:38:48 +08:00
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
doc = false
|
|
|
|
name = "mdbook"
|
|
|
|
path = "src/bin/mdbook.rs"
|