mdBook/Cargo.toml

73 lines
1.8 KiB
TOML
Raw Normal View History

2015-07-06 12:21:59 +00:00
[package]
name = "mdbook"
2022-11-28 17:54:39 +00:00
version = "0.4.22"
authors = [
2018-12-25 12:10:45 +00:00
"Mathieu David <mathieudavid@mathieudavid.org>",
"Michael-F-Bryan <michaelfbryan@gmail.com>",
"Matt Ickstadt <mattico8@gmail.com>"
]
documentation = "https://rust-lang.github.io/mdBook/index.html"
edition = "2021"
exclude = ["/guide/*"]
2015-08-06 21:37:44 +00:00
keywords = ["book", "gitbook", "rustbook", "markdown"]
license = "MPL-2.0"
2015-08-06 21:37:44 +00:00
readme = "README.md"
repository = "https://github.com/rust-lang/mdBook"
description = "Creates a book from markdown files"
rust-version = "1.60"
2015-07-06 19:12:24 +00:00
[dependencies]
anyhow = "1.0.28"
chrono = "0.4"
2022-01-18 21:56:45 +00:00
clap = { version = "3.0", features = ["cargo"] }
clap_complete = "3.0"
once_cell = "1"
env_logger = "0.10.0"
2021-05-26 15:11:01 +00:00
handlebars = "4.0"
log = "0.4"
memchr = "2.0"
opener = "0.5"
2022-01-18 15:01:23 +00:00
pulldown-cmark = { version = "0.9.1", default-features = false }
2022-03-09 07:04:50 +00:00
regex = "1.5.5"
serde = { version = "1.0", features = ["derive"] }
2019-05-30 15:23:42 +00:00
serde_json = "1.0"
2021-02-21 23:15:16 +00:00
shlex = "1"
2019-05-30 15:23:42 +00:00
tempfile = "3.0"
toml = "0.5.1"
topological-sort = "0.2.2"
# Watch feature
2017-02-19 01:24:27 +00:00
notify = { version = "4.0", optional = true }
gitignore = { version = "1.0", optional = true }
2016-04-02 02:46:05 +00:00
# Serve feature
futures-util = { version = "0.3.4", optional = true }
2021-07-26 02:14:40 +00:00
tokio = { version = "1", features = ["macros", "rt-multi-thread"], optional = true }
2022-06-20 17:48:03 +00:00
warp = { version = "0.3.2", default-features = false, features = ["websocket"], optional = true }
2016-04-02 02:46:05 +00:00
# Search feature
2022-05-23 02:30:32 +00:00
elasticlunr-rs = { version = "3.0.0", optional = true }
2019-09-21 09:22:52 +00:00
ammonia = { version = "3", optional = true }
[dev-dependencies]
assert_cmd = "2.0.7"
2021-07-13 23:03:07 +00:00
predicates = "2"
select = "0.6.0"
semver = "1.0"
pretty_assertions = "1.2.1"
walkdir = "2.0"
[features]
default = ["watch", "serve", "search"]
watch = ["notify", "gitignore"]
serve = ["futures-util", "tokio", "warp"]
search = ["elasticlunr-rs", "ammonia"]
2015-08-06 10:38:48 +00:00
[[bin]]
doc = false
name = "mdbook"
[[example]]
name = "nop-preprocessor"
test = true