[[bin]]
doc = false
name = "mdbook"
path = "src/main.rs"
[dependencies.ammonia]
optional = true
version = "4.0.0"
[dependencies.anyhow]
version = "1.0.71"
[dependencies.chrono]
default-features = false
features = ["clock"]
version = "0.4.24"
[dependencies.clap]
features = ["cargo", "wrap_help"]
version = "4.3.12"
[dependencies.clap_complete]
version = "4.3.2"
[dependencies.elasticlunr-rs]
optional = true
version = "3.0.2"
[dependencies.env_logger]
version = "0.11.1"
[dependencies.futures-util]
optional = true
version = "0.3.28"
[dependencies.handlebars]
version = "6.0"
[dependencies.ignore]
optional = true
version = "0.4.20"
[dependencies.log]
version = "0.4.17"
[dependencies.memchr]
version = "2.5.0"
[dependencies.notify]
optional = true
version = "6.1.1"
[dependencies.notify-debouncer-mini]
optional = true
version = "0.4.1"
[dependencies.once_cell]
version = "1.17.1"
[dependencies.opener]
version = "0.7.0"
[dependencies.pathdiff]
optional = true
version = "0.2.1"
[dependencies.pulldown-cmark]
default-features = false
features = ["html"]
version = "0.10.0"
[dependencies.regex]
version = "1.8.1"
[dependencies.serde]
features = ["derive"]
version = "1.0.163"
[dependencies.serde_json]
version = "1.0.96"
[dependencies.shlex]
version = "1.3.0"
[dependencies.tempfile]
version = "3.4.0"
[dependencies.tokio]
features = ["macros", "rt-multi-thread"]
optional = true
version = "1.28.1"
[dependencies.toml]
version = "0.5.11"
[dependencies.topological-sort]
version = "0.2.2"
[dependencies.walkdir]
optional = true
version = "2.3.3"
[dependencies.warp]
default-features = false
features = ["websocket"]
optional = true
version = "0.3.6"
[dev-dependencies.assert_cmd]
version = "2.0.11"
[dev-dependencies.predicates]
version = "3.0.3"
[dev-dependencies.pretty_assertions]
version = "1.3.0"
[dev-dependencies.select]
version = "0.6.0"
[dev-dependencies.semver]
version = "1.0.17"
[dev-dependencies.walkdir]
version = "2.3.3"
[[example]]
name = "nop-preprocessor"
path = "examples/nop-preprocessor.rs"
test = true
[[example]]
crate-type = ["lib"]
name = "remove-emphasis"
path = "examples/remove-emphasis/test.rs"
test = true
[features]
default = ["watch", "serve", "search"]
search = ["dep:elasticlunr-rs", "dep:ammonia"]
serve = ["dep:futures-util", "dep:tokio", "dep:warp"]
watch = ["dep:notify", "dep:notify-debouncer-mini", "dep:ignore", "dep:pathdiff", "dep:walkdir"]
[lib]
name = "mdbook"
path = "src/lib.rs"
[package]
authors = ["Mathieu David <mathieudavid@mathieudavid.org>", "Michael-F-Bryan <michaelfbryan@gmail.com>", "Matt Ickstadt <mattico8@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
description = "Creates a book from markdown files"
documentation = "https://rust-lang.github.io/mdBook/index.html"
edition = "2021"
exclude = ["/guide/*"]
keywords = ["book", "gitbook", "rustbook", "markdown"]
license = "MPL-2.0"
name = "mdbook"
readme = "README.md"
repository = "https://github.com/rust-lang/mdBook"
rust-version = "1.74"
version = "0.4.42"
[[test]]
name = "alternative_backends"
path = "tests/alternative_backends.rs"
[[test]]
name = "build_process"
path = "tests/build_process.rs"
[[test]]
name = "cli_tests"
path = "tests/cli_tests.rs"
[[test]]
name = "custom_preprocessors"
path = "tests/custom_preprocessors.rs"
[[test]]
name = "init"
path = "tests/init.rs"
[[test]]
name = "parse_existing_summary_files"
path = "tests/parse_existing_summary_files.rs"
[[test]]
name = "rendered_output"
path = "tests/rendered_output.rs"
[[test]]
name = "testing"
path = "tests/testing.rs"