mdBook/Cargo.toml

69 lines
1.6 KiB
TOML
Raw Normal View History

2015-07-06 20:21:59 +08:00
[package]
name = "mdbook"
version = "0.2.4-alpha.0"
authors = [
2018-12-25 20:10:45 +08:00
"Mathieu David <mathieudavid@mathieudavid.org>",
"Michael-F-Bryan <michaelfbryan@gmail.com>",
"Matt Ickstadt <mattico8@gmail.com>"
]
documentation = "http://rust-lang-nursery.github.io/mdBook/index.html"
edition = "2018"
exclude = ["/book-example/*"]
2015-08-07 05:37:44 +08:00
keywords = ["book", "gitbook", "rustbook", "markdown"]
license = "MPL-2.0"
2015-08-07 05:37:44 +08:00
readme = "README.md"
repository = "https://github.com/rust-lang-nursery/mdBook"
description = "Creates a book from markdown files"
2015-07-07 03:12:24 +08:00
[dependencies]
chrono = "0.4"
2019-05-30 23:23:42 +08:00
clap = "2.24"
env_logger = "0.6"
error-chain = "0.12"
2019-05-30 23:23:42 +08:00
handlebars = { version = "1.0", default-features = false, features = ["no_dir_source"] }
itertools = "0.8"
lazy_static = "1.0"
log = "0.4"
memchr = "2.0"
2017-01-02 01:42:47 +08:00
open = "1.1"
2019-05-30 23:23:42 +08:00
pulldown-cmark = "0.1.2"
2018-05-13 18:35:17 +08:00
regex = "1.0.0"
2019-05-30 23:23:42 +08:00
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
shlex = "0.1"
2019-05-30 23:23:42 +08:00
tempfile = "3.0"
toml = "0.4.8"
toml-query = "0.7"
# Watch feature
2017-02-19 09:24:27 +08:00
notify = { version = "4.0", optional = true }
2016-04-02 10:46:05 +08:00
# Serve feature
iron = { version = "0.6", optional = true }
staticfile = { version = "0.5", optional = true }
ws = { version = "0.8", optional = true}
2016-04-02 10:46:05 +08:00
# Search feature
elasticlunr-rs = { version = "2.3", optional = true, default-features = false }
ammonia = { version = "2.1", optional = true }
[dev-dependencies]
select = "0.4"
pretty_assertions = "0.6"
walkdir = "2.0"
2019-05-06 01:12:53 +08:00
# FIXME(issue #898)
pulldown-cmark-to-cmark = "=1.1.0"
[features]
default = ["output", "watch", "serve", "search"]
debug = []
output = []
watch = ["notify"]
2016-04-03 02:04:51 +08:00
serve = ["iron", "staticfile", "ws"]
search = ["elasticlunr-rs", "ammonia"]
2015-08-06 18:38:48 +08:00
[[bin]]
doc = false
name = "mdbook"