mdBook/Cargo.toml

76 lines
2.3 KiB
TOML
Raw Normal View History

2015-07-06 20:21:59 +08:00
[package]
name = "mdbook"
2024-02-07 11:34:15 +08:00
version = "0.4.37"
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 = "https://rust-lang.github.io/mdBook/index.html"
edition = "2021"
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"
2024-02-06 06:20:37 +08:00
rust-version = "1.71"
2015-07-07 03:12:24 +08:00
[dependencies]
2023-05-14 03:01:03 +08:00
anyhow = "1.0.71"
chrono = { version = "0.4.24", default-features = false, features = ["clock"] }
2023-07-17 03:33:53 +08:00
clap = { version = "4.3.12", features = ["cargo", "wrap_help"] }
clap_complete = "4.3.2"
2023-05-14 03:01:03 +08:00
once_cell = "1.17.1"
2024-02-06 06:20:37 +08:00
env_logger = "0.11.1"
2024-01-04 20:16:34 +08:00
handlebars = "5.0"
2023-05-14 03:01:03 +08:00
log = "0.4.17"
memchr = "2.5.0"
2023-07-17 03:37:23 +08:00
opener = "0.6.1"
2024-02-06 06:11:27 +08:00
pulldown-cmark = { version = "0.10.0", default-features = false, features = ["html"] }
2023-05-14 03:01:03 +08:00
regex = "1.8.1"
serde = { version = "1.0.163", features = ["derive"] }
serde_json = "1.0.96"
shlex = "1.3.0"
2023-05-14 03:01:03 +08:00
tempfile = "3.4.0"
2023-08-02 23:39:17 +08:00
toml = "0.5.11" # Do not update, see https://github.com/rust-lang/mdBook/issues/2037
topological-sort = "0.2.2"
# Watch feature
notify = { version = "6.1.1", optional = true }
notify-debouncer-mini = { version = "0.4.1", optional = true }
2023-04-23 03:49:39 +08:00
ignore = { version = "0.4.20", optional = true }
pathdiff = { version = "0.2.1", optional = true }
2016-04-02 10:46:05 +08:00
# Serve feature
2023-05-14 03:01:03 +08:00
futures-util = { version = "0.3.28", optional = true }
tokio = { version = "1.28.1", features = ["macros", "rt-multi-thread"], optional = true }
2024-04-08 06:22:27 +08:00
axum = { version = "0.7.5", default-features = false, features = ["http1", "tokio", "ws"], optional = true }
tower-http = { version = "0.5.2", default-features = false, features = ["fs"], optional = true }
2016-04-02 10:46:05 +08:00
# Search feature
2023-05-14 03:01:03 +08:00
elasticlunr-rs = { version = "3.0.2", optional = true }
ammonia = { version = "3.3.0", optional = true }
[dev-dependencies]
2023-05-14 03:01:03 +08:00
assert_cmd = "2.0.11"
2023-07-17 03:42:44 +08:00
predicates = "3.0.3"
select = "0.6.0"
2023-05-14 03:01:03 +08:00
semver = "1.0.17"
pretty_assertions = "1.3.0"
walkdir = "2.3.3"
[features]
default = ["watch", "serve", "search"]
watch = ["dep:notify", "dep:notify-debouncer-mini", "dep:ignore", "dep:pathdiff"]
2024-04-08 06:22:27 +08:00
serve = ["dep:futures-util", "dep:tokio", "dep:axum", "dep:tower-http"]
2023-04-23 03:49:39 +08:00
search = ["dep:elasticlunr-rs", "dep:ammonia"]
2015-08-06 18:38:48 +08:00
[[bin]]
doc = false
name = "mdbook"
[[example]]
name = "nop-preprocessor"
test = true