mdBook/Cargo.toml

65 lines
1.6 KiB
TOML
Raw Normal View History

2015-07-06 20:21:59 +08:00
[package]
name = "mdbook"
2021-06-09 06:02:48 +08:00
version = "0.4.10"
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.github.io/mdBook/index.html"
edition = "2018"
exclude = ["/guide/*"]
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/mdBook"
description = "Creates a book from markdown files"
2015-07-07 03:12:24 +08:00
[dependencies]
anyhow = "1.0.28"
chrono = "0.4"
2019-05-30 23:23:42 +08:00
clap = "2.24"
env_logger = "0.7.1"
2021-05-26 23:11:01 +08:00
handlebars = "4.0"
lazy_static = "1.0"
log = "0.4"
memchr = "2.0"
2017-01-02 01:42:47 +08:00
open = "1.1"
pulldown-cmark = "0.7.0"
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"
2021-02-22 07:15:16 +08:00
shlex = "1"
2019-05-30 23:23:42 +08:00
tempfile = "3.0"
toml = "0.5.1"
# Watch feature
2017-02-19 09:24:27 +08:00
notify = { version = "4.0", optional = true }
gitignore = { version = "1.0", optional = true }
2016-04-02 10:46:05 +08:00
# Serve feature
futures-util = { version = "0.3.4", optional = true }
tokio = { version = "0.2.18", features = ["macros"], optional = true }
warp = { version = "0.2.2", default-features = false, features = ["websocket"], optional = true }
2016-04-02 10:46:05 +08:00
# Search feature
elasticlunr-rs = { version = "2.3", optional = true, default-features = false }
2019-09-21 17:22:52 +08:00
ammonia = { version = "3", optional = true }
[dev-dependencies]
select = "0.5"
2021-04-26 23:08:53 +08:00
semver = "0.11.0"
pretty_assertions = "0.6"
walkdir = "2.0"
[features]
default = ["watch", "serve", "search"]
watch = ["notify", "gitignore"]
serve = ["futures-util", "tokio", "warp"]
search = ["elasticlunr-rs", "ammonia"]
2015-08-06 18:38:48 +08:00
[[bin]]
doc = false
name = "mdbook"