2015-07-06 12:21:59 +00:00
|
|
|
[package]
|
|
|
|
name = "mdbook"
|
2017-04-27 14:05:45 +00:00
|
|
|
version = "0.0.22-pre"
|
2015-07-06 12:21:59 +00:00
|
|
|
authors = ["Mathieu David <mathieudavid@mathieudavid.org>"]
|
2015-08-06 21:37:44 +00: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 14:13:41 +00:00
|
|
|
license = "MPL-2.0"
|
2015-08-06 21:37:44 +00:00
|
|
|
readme = "README.md"
|
2015-09-18 10:05:55 +00:00
|
|
|
build = "build.rs"
|
2015-08-06 21:37:44 +00:00
|
|
|
exclude = [
|
|
|
|
"book-example/*",
|
2015-09-27 12:38:37 +00:00
|
|
|
"src/theme/stylus",
|
2015-08-06 21:37:44 +00:00
|
|
|
]
|
2015-07-06 19:12:24 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2017-05-18 09:56:04 +00:00
|
|
|
clap = "2.24"
|
2017-06-05 15:03:27 +00:00
|
|
|
handlebars = "0.27"
|
2017-05-18 09:56:04 +00:00
|
|
|
serde = "1.0"
|
2017-05-18 17:32:08 +00:00
|
|
|
serde_derive = "1.0"
|
2017-06-24 16:40:56 +00:00
|
|
|
error-chain = { version = "0.10.0", features = [] }
|
2017-05-18 09:56:04 +00:00
|
|
|
serde_json = "1.0"
|
|
|
|
pulldown-cmark = "0.0.14"
|
2016-08-14 12:32:34 +00:00
|
|
|
log = "0.3"
|
2017-02-16 22:17:26 +00:00
|
|
|
env_logger = "0.4.0"
|
2017-05-18 09:56:04 +00:00
|
|
|
toml = { version = "0.4", features = ["serde"] }
|
2017-01-01 17:42:47 +00:00
|
|
|
open = "1.1"
|
2017-02-16 22:11:16 +00:00
|
|
|
regex = "0.2.1"
|
2015-08-03 16:06:01 +00:00
|
|
|
|
2015-11-09 13:31:00 +00:00
|
|
|
# Watch feature
|
2017-02-19 01:24:27 +00:00
|
|
|
notify = { version = "4.0", optional = true }
|
2016-03-19 16:45:58 +00:00
|
|
|
time = { version = "0.1.34", optional = true }
|
2016-03-01 17:32:43 +00:00
|
|
|
crossbeam = { version = "0.2.8", optional = true }
|
2015-11-09 13:31:00 +00:00
|
|
|
|
2016-04-02 02:46:05 +00:00
|
|
|
# Serve feature
|
2017-02-19 01:26:12 +00:00
|
|
|
iron = { version = "0.5", optional = true }
|
|
|
|
staticfile = { version = "0.4", optional = true }
|
2017-05-18 09:56:04 +00:00
|
|
|
ws = { version = "0.7", optional = true}
|
2016-04-02 02:46:05 +00:00
|
|
|
|
2015-11-09 13:31:00 +00:00
|
|
|
# Tests
|
2015-08-06 13:04:27 +00:00
|
|
|
[dev-dependencies]
|
2016-03-01 17:32:43 +00:00
|
|
|
tempdir = "0.3.4"
|
2015-08-06 13:04:27 +00:00
|
|
|
|
2017-05-22 02:10:51 +00:00
|
|
|
[build-dependencies]
|
|
|
|
error-chain = "0.10"
|
|
|
|
|
2015-08-03 16:06:01 +00:00
|
|
|
[features]
|
2016-04-02 02:46:05 +00:00
|
|
|
default = ["output", "watch", "serve"]
|
2015-08-03 16:06:01 +00:00
|
|
|
debug = []
|
2015-08-04 15:13:24 +00:00
|
|
|
output = []
|
2015-09-24 13:37:20 +00:00
|
|
|
regenerate-css = []
|
2015-12-29 12:40:13 +00:00
|
|
|
watch = ["notify", "time", "crossbeam"]
|
2016-04-02 18:04:51 +00:00
|
|
|
serve = ["iron", "staticfile", "ws"]
|
2015-08-06 10:38:48 +00:00
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
doc = false
|
|
|
|
name = "mdbook"
|
|
|
|
path = "src/bin/mdbook.rs"
|