# 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 = "2021" rust-version = "1.74" name = "mdbook" version = "0.4.42" authors = [ "Mathieu David ", "Michael-F-Bryan ", "Matt Ickstadt ", ] build = false exclude = ["/guide/*"] 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" [lib] name = "mdbook" path = "src/lib.rs" [[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 = "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" [dependencies.ammonia] version = "4.0.0" optional = true [dependencies.anyhow] version = "1.0.71" [dependencies.chrono] version = "0.4.24" features = ["clock"] default-features = false [dependencies.clap] version = "4.3.12" features = [ "cargo", "wrap_help", ] [dependencies.clap_complete] version = "4.3.2" [dependencies.elasticlunr-rs] version = "3.0.2" optional = true [dependencies.env_logger] version = "0.11.1" [dependencies.futures-util] version = "0.3.28" optional = true [dependencies.handlebars] version = "6.0" [dependencies.ignore] version = "0.4.20" optional = true [dependencies.log] version = "0.4.17" [dependencies.memchr] version = "2.5.0" [dependencies.notify] version = "6.1.1" optional = true [dependencies.notify-debouncer-mini] version = "0.4.1" optional = true [dependencies.once_cell] version = "1.17.1" [dependencies.opener] version = "0.7.0" [dependencies.pathdiff] version = "0.2.1" optional = true [dependencies.pulldown-cmark] version = "0.10.0" features = ["html"] default-features = false [dependencies.regex] version = "1.8.1" [dependencies.serde] version = "1.0.163" features = ["derive"] [dependencies.serde_json] version = "1.0.96" [dependencies.shlex] version = "1.3.0" [dependencies.tempfile] version = "3.4.0" [dependencies.tokio] version = "1.28.1" features = [ "macros", "rt-multi-thread", ] optional = true [dependencies.toml] version = "0.5.11" [dependencies.topological-sort] version = "0.2.2" [dependencies.walkdir] version = "2.3.3" optional = true [dependencies.warp] version = "0.3.6" features = ["websocket"] optional = true default-features = false [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" [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", ]