mdBook/Cargo.toml

64 lines
1.4 KiB
TOML
Raw Normal View History

2015-07-06 20:21:59 +08:00
[package]
name = "mdbook"
version = "0.0.16"
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"]
license = "MPL-2.0"
2015-08-07 05:37:44 +08:00
readme = "README.md"
build = "build.rs"
include = ["data"]
2015-08-07 05:37:44 +08:00
exclude = [
"book-example/*",
"data/_html-template/_stylus",
2015-08-07 05:37:44 +08:00
]
2015-07-07 03:12:24 +08:00
2015-07-07 03:12:24 +08:00
[dependencies]
2016-12-23 16:10:42 +08:00
clap = "2.19.2"
handlebars = { version = "0.23.0", features = ["serde_type"] }
serde = "0.8"
serde_derive = "0.8"
2016-12-23 16:10:42 +08:00
serde_json = "0.8"
pulldown-cmark = "0.0.8"
regex = "0.1"
glob = "0.2"
log = "0.3"
2016-12-23 16:10:42 +08:00
env_logger = "0.3"
toml = { version = "0.2", features = ["serde"] }
2017-01-20 01:08:07 +08:00
open = "1.1"
phf = "0.7"
includedir = "0.2"
# Watch feature
2017-01-20 01:08:07 +08:00
notify = { version = "3.0", optional = true }
2016-03-20 00:45:58 +08:00
time = { version = "0.1.34", optional = true }
crossbeam = { version = "0.2.8", optional = true }
2016-04-02 10:46:05 +08:00
# Serve feature
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
[build-dependencies]
includedir_codegen = "0.2"
# Tests
[dev-dependencies]
tempdir = "0.3.4"
[features]
2016-04-02 10:46:05 +08:00
default = ["output", "watch", "serve"]
debug = []
output = []
regenerate-css = []
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"