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