mdbook 0.5.3

Creates a book from markdown files
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.88.0"
name = "mdbook"
version = "0.5.3"
authors = [
    "Mathieu David <mathieudavid@mathieudavid.org>",
    "Michael-F-Bryan <michaelfbryan@gmail.com>",
    "Matt Ickstadt <mattico8@gmail.com>",
]
build = false
exclude = ["/guide/*"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Creates a book from markdown files"
documentation = "https://rust-lang.github.io/mdBook/index.html"
readme = "README.md"
keywords = [
    "book",
    "gitbook",
    "rustbook",
    "markdown",
]
license = "MPL-2.0"
repository = "https://github.com/rust-lang/mdBook"

[features]
default = [
    "watch",
    "serve",
    "search",
]
search = ["mdbook-html/search"]
serve = [
    "dep:futures-util",
    "dep:tokio",
    "dep:axum",
    "dep:tower-http",
]
watch = [
    "dep:notify",
    "dep:notify-debouncer-mini",
    "dep:ignore",
    "dep:pathdiff",
    "dep:walkdir",
]

[[bin]]
name = "mdbook"
path = "src/main.rs"
doc = false

[[example]]
name = "nop-preprocessor"
path = "examples/nop-preprocessor.rs"
test = true

[[example]]
name = "remove-emphasis"
crate-type = ["lib"]
path = "examples/remove-emphasis/test.rs"
test = true

[[test]]
name = "gui"
crate-type = ["bin"]
path = "tests/gui/runner.rs"
test = false
harness = false

[[test]]
name = "testsuite"
path = "tests/testsuite/main.rs"

[dependencies.anyhow]
version = "1.0.102"

[dependencies.axum]
version = "0.8.9"
features = ["ws"]
optional = true

[dependencies.clap]
version = "4.6.1"
features = [
    "cargo",
    "wrap_help",
]

[dependencies.clap_complete]
version = "4.6.3"

[dependencies.futures-util]
version = "0.3.32"
optional = true

[dependencies.ignore]
version = "0.4.25"
optional = true

[dependencies.mdbook-core]
version = "0.5.3"

[dependencies.mdbook-driver]
version = "0.5.3"

[dependencies.mdbook-html]
version = "0.5.3"

[dependencies.notify]
version = "8.2.0"
optional = true

[dependencies.notify-debouncer-mini]
version = "0.7.0"
optional = true

[dependencies.opener]
version = "0.8.4"

[dependencies.pathdiff]
version = "0.2.3"
optional = true

[dependencies.tokio]
version = "1.52.1"
features = [
    "macros",
    "rt-multi-thread",
]
optional = true

[dependencies.tower-http]
version = "0.6.8"
features = [
    "fs",
    "trace",
]
optional = true

[dependencies.tracing]
version = "0.1.44"

[dependencies.tracing-subscriber]
version = "0.3.23"
features = ["env-filter"]

[dependencies.walkdir]
version = "2.5.0"
optional = true

[dev-dependencies.glob]
version = "0.3.3"

[dev-dependencies.mdbook-preprocessor]
version = "0.5.3"

[dev-dependencies.mdbook-renderer]
version = "0.5.3"

[dev-dependencies.regex]
version = "1.12.3"

[dev-dependencies.select]
version = "0.6.1"

[dev-dependencies.semver]
version = "1.0.28"

[dev-dependencies.serde_json]
version = "1.0.149"

[dev-dependencies.snapbox]
version = "1.2.1"
features = [
    "diff",
    "dir",
    "term-svg",
    "regex",
    "json",
]

[dev-dependencies.tempfile]
version = "3.27.0"

[dev-dependencies.walkdir]
version = "2.5.0"

[lints.clippy]
exhaustive_enums = "warn"
exhaustive_structs = "warn"
manual_non_exhaustive = "warn"

[lints.clippy.all]
level = "allow"
priority = -2

[lints.clippy.complexity]
level = "warn"
priority = -1

[lints.clippy.correctness]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
rust_2018_idioms = "warn"
unreachable_pub = "warn"