# 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 believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
name = "mdbook"
version = "0.4.3"
authors = ["Mathieu David <mathieudavid@mathieudavid.org>", "Michael-F-Bryan <michaelfbryan@gmail.com>", "Matt Ickstadt <mattico8@gmail.com>"]
exclude = ["/book-example/*"]
description = "Creates a book from markdown files"
documentation = "http://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"

[[bin]]
name = "mdbook"
doc = false
[dependencies.ammonia]
version = "3"
optional = true

[dependencies.anyhow]
version = "1.0.28"

[dependencies.chrono]
version = "0.4"

[dependencies.clap]
version = "2.24"

[dependencies.elasticlunr-rs]
version = "2.3"
optional = true
default-features = false

[dependencies.env_logger]
version = "0.7.1"

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

[dependencies.gitignore]
version = "1.0"
optional = true

[dependencies.handlebars]
version = "3.0"

[dependencies.lazy_static]
version = "1.0"

[dependencies.log]
version = "0.4"

[dependencies.memchr]
version = "2.0"

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

[dependencies.open]
version = "1.1"

[dependencies.pulldown-cmark]
version = "0.7.0"

[dependencies.regex]
version = "1.0.0"

[dependencies.serde]
version = "1.0"

[dependencies.serde_derive]
version = "1.0"

[dependencies.serde_json]
version = "1.0"

[dependencies.shlex]
version = "0.1"

[dependencies.tempfile]
version = "3.0"

[dependencies.tokio]
version = "0.2.18"
features = ["macros"]
optional = true

[dependencies.toml]
version = "0.5.1"

[dependencies.warp]
version = "0.2.2"
features = ["websocket"]
optional = true
default-features = false
[dev-dependencies.pretty_assertions]
version = "0.6"

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

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

[features]
default = ["watch", "serve", "search"]
search = ["elasticlunr-rs", "ammonia"]
serve = ["futures-util", "tokio", "warp"]
watch = ["notify", "gitignore"]
