2015-07-06 20:21:59 +08:00
|
|
|
[package]
|
|
|
|
name = "mdbook"
|
2018-02-16 07:47:35 +08:00
|
|
|
version = "0.1.4-alpha.0"
|
2018-01-23 22:04:45 +08:00
|
|
|
authors = ["Mathieu David <mathieudavid@mathieudavid.org>", "Michael-F-Bryan <michaelfbryan@gmail.com>"]
|
2015-08-07 05:37:44 +08:00
|
|
|
description = "create books from markdown files (like Gitbook)"
|
2017-11-22 18:35:18 +08:00
|
|
|
documentation = "http://rust-lang-nursery.github.io/mdBook/index.html"
|
|
|
|
repository = "https://github.com/rust-lang-nursery/mdBook"
|
2015-08-07 05:37:44 +08:00
|
|
|
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/*",
|
2017-09-02 06:43:32 +08:00
|
|
|
"src/theme/stylus/**",
|
2015-08-07 05:37:44 +08:00
|
|
|
]
|
2015-07-07 03:12:24 +08:00
|
|
|
|
2018-01-26 01:11:32 +08:00
|
|
|
[package.metadata.release]
|
|
|
|
sign-commit = true
|
|
|
|
push-remote = "upstream"
|
|
|
|
tag-prefix = "v"
|
|
|
|
|
2015-07-07 03:12:24 +08:00
|
|
|
[dependencies]
|
2017-05-18 17:56:04 +08:00
|
|
|
clap = "2.24"
|
2017-12-30 18:43:46 +08:00
|
|
|
chrono = "0.4"
|
2017-09-12 01:38:10 +08:00
|
|
|
handlebars = "0.29"
|
2017-05-18 17:56:04 +08:00
|
|
|
serde = "1.0"
|
2017-05-19 01:32:08 +08:00
|
|
|
serde_derive = "1.0"
|
2018-01-21 22:35:11 +08:00
|
|
|
error-chain = "0.11"
|
2017-05-18 17:56:04 +08:00
|
|
|
serde_json = "1.0"
|
2017-09-12 01:38:10 +08:00
|
|
|
pulldown-cmark = "0.1"
|
2017-12-30 18:43:46 +08:00
|
|
|
lazy_static = "1.0"
|
|
|
|
log = "0.4"
|
|
|
|
env_logger = "0.5.0-rc.1"
|
2017-08-29 22:53:20 +08:00
|
|
|
toml = "0.4"
|
2018-01-21 22:35:11 +08:00
|
|
|
memchr = "2.0"
|
2017-01-02 01:42:47 +08:00
|
|
|
open = "1.1"
|
2017-02-17 06:11:16 +08:00
|
|
|
regex = "0.2.1"
|
2017-08-07 07:36:29 +08:00
|
|
|
tempdir = "0.3.4"
|
2018-01-21 22:35:11 +08:00
|
|
|
itertools = "0.7"
|
|
|
|
shlex = "0.1"
|
2018-01-14 02:38:43 +08:00
|
|
|
toml-query = "0.6"
|
2015-08-04 00:06:01 +08:00
|
|
|
|
2015-11-09 21:31:00 +08:00
|
|
|
# Watch feature
|
2017-02-19 09:24:27 +08:00
|
|
|
notify = { version = "4.0", optional = true }
|
2016-03-20 00:45:58 +08:00
|
|
|
time = { version = "0.1.34", optional = true }
|
2017-09-12 01:38:10 +08:00
|
|
|
crossbeam = { version = "0.3", optional = true }
|
2015-11-09 21:31:00 +08:00
|
|
|
|
2016-04-02 10:46:05 +08:00
|
|
|
# Serve feature
|
2018-01-02 22:02:34 +08:00
|
|
|
iron = { version = "0.5", optional = true }
|
|
|
|
staticfile = { version = "0.4", optional = true }
|
2017-05-18 17:56:04 +08:00
|
|
|
ws = { version = "0.7", optional = true}
|
2016-04-02 10:46:05 +08:00
|
|
|
|
2018-03-07 21:02:06 +08:00
|
|
|
# Search feature
|
2018-03-06 11:14:55 +08:00
|
|
|
elasticlunr-rs = { version = "1", optional = true }
|
2018-03-07 21:02:06 +08:00
|
|
|
ammonia = { version = "1.1", optional = true }
|
|
|
|
|
2017-05-22 10:10:51 +08:00
|
|
|
[build-dependencies]
|
2017-09-12 01:38:10 +08:00
|
|
|
error-chain = "0.11"
|
2017-05-22 10:10:51 +08:00
|
|
|
|
2017-11-16 15:51:12 +08:00
|
|
|
[dev-dependencies]
|
|
|
|
select = "0.4"
|
|
|
|
pretty_assertions = "0.4"
|
2017-12-30 18:43:46 +08:00
|
|
|
walkdir = "2.0"
|
2018-02-24 18:14:52 +08:00
|
|
|
pulldown-cmark-to-cmark = "1.1.0"
|
2017-11-16 15:51:12 +08:00
|
|
|
|
2015-08-04 00:06:01 +08:00
|
|
|
[features]
|
2018-03-07 21:02:06 +08:00
|
|
|
default = ["output", "watch", "serve", "search"]
|
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"]
|
2018-03-07 21:02:06 +08:00
|
|
|
search = ["elasticlunr-rs", "ammonia"]
|
2015-08-06 18:38:48 +08:00
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
doc = false
|
|
|
|
name = "mdbook"
|
|
|
|
path = "src/bin/mdbook.rs"
|