[package] name = "mdbook" version = "0.4.21" 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" [dependencies] anyhow = "1.0.28" once_cell = "1" log = "0.4" memchr = "2.0" 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" toml = "0.5.1" # Bin feature chrono = { version = "0.4", optional = true } clap = { version = "3.0", features = ["cargo"], optional = true } clap_complete = { version = "3.0", optional = true } env_logger = { version = "0.9.0", optional = true } handlebars = { version = "4.0", optional = true } opener = { version = "0.5", optional = true } tempfile = { version = "3.0", optional = true } topological-sort = { version = "0.1.0", optional = true } # Watch feature notify = { version = "4.0", optional = true } gitignore = { version = "1.0", 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] # Make "full" a required feature for tests mdbook = {path = ".", features = ["full"]} assert_cmd = "1" predicates = "2" select = "0.5" semver = "1.0" pretty_assertions = "1.2.1" walkdir = "2.0" [features] default = ["watch", "serve", "search", "full"] watch = ["notify", "gitignore"] serve = ["futures-util", "tokio", "warp"] search = ["elasticlunr-rs", "ammonia"] full = ["chrono", "clap", "clap_complete", "env_logger", "handlebars", "opener", "tempfile", "topological-sort"] [[bin]] doc = false name = "mdbook" [[example]] name = "nop-preprocessor" test = true