2024-11-02 22:41:55 +00:00
|
|
|
[workspace]
|
|
|
|
members = [".", "examples/remove-emphasis/mdbook-remove-emphasis"]
|
|
|
|
|
2015-07-06 12:21:59 +00:00
|
|
|
[package]
|
|
|
|
name = "mdbook"
|
2024-05-17 01:20:39 +00:00
|
|
|
version = "0.4.40"
|
2018-08-02 18:31:58 +00:00
|
|
|
authors = [
|
2018-12-25 12:10:45 +00:00
|
|
|
"Mathieu David <mathieudavid@mathieudavid.org>",
|
2018-08-02 18:31:58 +00:00
|
|
|
"Michael-F-Bryan <michaelfbryan@gmail.com>",
|
|
|
|
"Matt Ickstadt <mattico8@gmail.com>"
|
|
|
|
]
|
2022-11-19 01:53:08 +00:00
|
|
|
documentation = "https://rust-lang.github.io/mdBook/index.html"
|
2022-06-24 11:20:02 +00:00
|
|
|
edition = "2021"
|
2020-09-23 01:16:09 +00:00
|
|
|
exclude = ["/guide/*"]
|
2015-08-06 21:37:44 +00:00
|
|
|
keywords = ["book", "gitbook", "rustbook", "markdown"]
|
2015-08-11 14:13:41 +00:00
|
|
|
license = "MPL-2.0"
|
2015-08-06 21:37:44 +00:00
|
|
|
readme = "README.md"
|
2019-10-29 13:04:16 +00:00
|
|
|
repository = "https://github.com/rust-lang/mdBook"
|
2019-05-25 18:50:41 +00:00
|
|
|
description = "Creates a book from markdown files"
|
2024-05-14 18:38:13 +00:00
|
|
|
rust-version = "1.74"
|
2015-07-06 19:12:24 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2023-05-13 19:01:03 +00:00
|
|
|
anyhow = "1.0.71"
|
|
|
|
chrono = { version = "0.4.24", default-features = false, features = ["clock"] }
|
2023-07-16 19:33:53 +00:00
|
|
|
clap = { version = "4.3.12", features = ["cargo", "wrap_help"] }
|
|
|
|
clap_complete = "4.3.2"
|
2023-05-13 19:01:03 +00:00
|
|
|
once_cell = "1.17.1"
|
2024-02-05 22:20:37 +00:00
|
|
|
env_logger = "0.11.1"
|
2024-07-23 08:32:47 +00:00
|
|
|
handlebars = "6.0"
|
2023-05-13 19:01:03 +00:00
|
|
|
log = "0.4.17"
|
|
|
|
memchr = "2.5.0"
|
2024-05-14 18:22:41 +00:00
|
|
|
opener = "0.7.0"
|
2024-05-17 01:10:56 +00:00
|
|
|
pulldown-cmark = { version = "0.10.0", default-features = false, features = ["html"] } # Do not update, part of the public api.
|
2023-05-13 19:01:03 +00:00
|
|
|
regex = "1.8.1"
|
|
|
|
serde = { version = "1.0.163", features = ["derive"] }
|
|
|
|
serde_json = "1.0.96"
|
2024-01-22 21:52:27 +00:00
|
|
|
shlex = "1.3.0"
|
2023-05-13 19:01:03 +00:00
|
|
|
tempfile = "3.4.0"
|
2023-08-02 15:39:17 +00:00
|
|
|
toml = "0.5.11" # Do not update, see https://github.com/rust-lang/mdBook/issues/2037
|
2022-12-14 16:04:59 +00:00
|
|
|
topological-sort = "0.2.2"
|
2015-08-03 16:06:01 +00:00
|
|
|
|
2015-11-09 13:31:00 +00:00
|
|
|
# Watch feature
|
2023-08-21 17:29:59 +00:00
|
|
|
notify = { version = "6.1.1", optional = true }
|
|
|
|
notify-debouncer-mini = { version = "0.4.1", optional = true }
|
2023-04-22 19:49:39 +00:00
|
|
|
ignore = { version = "0.4.20", optional = true }
|
2024-01-15 09:49:29 +00:00
|
|
|
pathdiff = { version = "0.2.1", optional = true }
|
2024-02-24 21:35:39 +00:00
|
|
|
walkdir = { version = "2.3.3", optional = true }
|
2015-11-09 13:31:00 +00:00
|
|
|
|
2016-04-02 02:46:05 +00:00
|
|
|
# Serve feature
|
2023-05-13 19:01:03 +00:00
|
|
|
futures-util = { version = "0.3.28", optional = true }
|
|
|
|
tokio = { version = "1.28.1", features = ["macros", "rt-multi-thread"], optional = true }
|
2023-11-26 09:02:54 +00:00
|
|
|
warp = { version = "0.3.6", default-features = false, features = ["websocket"], optional = true }
|
2016-04-02 02:46:05 +00:00
|
|
|
|
2018-03-07 13:02:06 +00:00
|
|
|
# Search feature
|
2023-05-13 19:01:03 +00:00
|
|
|
elasticlunr-rs = { version = "3.0.2", optional = true }
|
2024-05-14 18:21:52 +00:00
|
|
|
ammonia = { version = "4.0.0", optional = true }
|
2018-03-07 13:02:06 +00:00
|
|
|
|
2017-11-16 07:51:12 +00:00
|
|
|
[dev-dependencies]
|
2023-05-13 19:01:03 +00:00
|
|
|
assert_cmd = "2.0.11"
|
2023-07-16 19:42:44 +00:00
|
|
|
predicates = "3.0.3"
|
2022-12-14 16:03:05 +00:00
|
|
|
select = "0.6.0"
|
2023-05-13 19:01:03 +00:00
|
|
|
semver = "1.0.17"
|
|
|
|
pretty_assertions = "1.3.0"
|
|
|
|
walkdir = "2.3.3"
|
2017-11-16 07:51:12 +00:00
|
|
|
|
2015-08-03 16:06:01 +00:00
|
|
|
[features]
|
2020-05-20 21:32:00 +00:00
|
|
|
default = ["watch", "serve", "search"]
|
2024-02-24 21:35:39 +00:00
|
|
|
watch = ["dep:notify", "dep:notify-debouncer-mini", "dep:ignore", "dep:pathdiff", "dep:walkdir"]
|
2023-04-22 19:49:39 +00:00
|
|
|
serve = ["dep:futures-util", "dep:tokio", "dep:warp"]
|
|
|
|
search = ["dep:elasticlunr-rs", "dep:ammonia"]
|
2015-08-06 10:38:48 +00:00
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
doc = false
|
|
|
|
name = "mdbook"
|
2022-09-24 21:32:41 +00:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "nop-preprocessor"
|
|
|
|
test = true
|
2024-11-02 22:41:55 +00:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "remove-emphasis"
|
|
|
|
path = "examples/remove-emphasis/test.rs"
|
|
|
|
crate-type = ["lib"]
|
|
|
|
test = true
|