[package] name = "mdbook" version = "0.4.29" authors = [ "Mathieu David ", "Michael-F-Bryan ", "Matt Ickstadt " ] documentation = "https://rust-lang.github.io/mdBook/index.html" edition = "2021" exclude = ["/guide/*"] keywords = ["book", "gitbook", "rustbook", "markdown"] license = "MPL-2.0" readme = "README.md" repository = "https://github.com/rust-lang/mdBook" description = "Creates a book from markdown files" rust-version = "1.65" [dependencies] anyhow = "1.0.28" chrono = { version = "0.4", default-features = false, features = ["clock"] } clap = { version = "4.2.7", features = ["cargo", "wrap_help"] } clap_complete = "4.2.3" once_cell = "1" env_logger = "0.10.0" handlebars = "4.0" log = "0.4" memchr = "2.0" opener = "0.5" pulldown-cmark = { version = "0.9.1", default-features = false } regex = "1.5.5" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" shlex = "1" tempfile = "3.0" toml = "0.5.1" topological-sort = "0.2.2" # Watch feature notify = { version = "5.0.0", optional = true } notify-debouncer-mini = { version = "0.2.1", optional = true } ignore = { version = "0.4.20", optional = true } # Serve feature futures-util = { version = "0.3.4", optional = true } tokio = { version = "1", features = ["macros", "rt-multi-thread"], optional = true } warp = { version = "0.3.2", default-features = false, features = ["websocket"], optional = true } # Search feature elasticlunr-rs = { version = "3.0.0", optional = true } ammonia = { version = "3", optional = true } [dev-dependencies] assert_cmd = "2.0.7" predicates = "2" select = "0.6.0" semver = "1.0" pretty_assertions = "1.2.1" walkdir = "2.0" [features] default = ["watch", "serve", "search"] watch = ["dep:notify", "dep:notify-debouncer-mini", "dep:ignore"] serve = ["dep:futures-util", "dep:tokio", "dep:warp"] search = ["dep:elasticlunr-rs", "dep:ammonia"] [[bin]] doc = false name = "mdbook" [[example]] name = "nop-preprocessor" test = true