[package]
name = "mdbook"
version = "0.0.7"
authors = ["Mathieu David <mathieudavid@mathieudavid.org>"]
description = "create books from markdown files (like Gitbook)"
documentation = "http://azerupi.github.io/mdBook/index.html"
repository = "https://github.com/azerupi/mdBook"
keywords = ["book", "gitbook", "rustbook", "markdown"]
license = "MPL-2.0"
readme = "README.md"
build = "build.rs"
exclude = [
    "book-example/*",
    "src/theme/stylus",
]

[dependencies]
clap = "~1.5.3"
handlebars = "~0.12.0"
rustc-serialize = "~0.3.16"
pulldown-cmark = "~0.0.6"


# Watch feature
[dependencies.notify]
notify = "^2.4.1"
optional = true

[dependencies.time]
time = "^0.1.33"
optional = true

[dependencies.crossbeam]
time = "^0.2.0"
optional = true

# Tests
[dev-dependencies]
tempdir = "~0.3.4"


[features]
default = ["output", "watch"]
debug = []
output = []
regenerate-css = []
watch = ["notify", "time", "crossbeam"]

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

[package]
name = "mdbook"
version = "0.0.7"
authors = ["Mathieu David <mathieudavid@mathieudavid.org>"]
description = "create books from markdown files (like Gitbook)"
documentation = "http://azerupi.github.io/mdBook/index.html"
repository = "https://github.com/azerupi/mdBook"
keywords = ["book", "gitbook", "rustbook", "markdown"]
license = "MPL-2.0"
readme = "README.md"
build = "build.rs"
exclude = [
    "book-example/*",
    "src/theme/stylus",
]

[dependencies]
clap = "~1.5.3"
handlebars = "~0.12.0"
rustc-serialize = "~0.3.16"
pulldown-cmark = "~0.0.6"

# Watch feature
notify = { version = "~2.4.1", optional = true }
time = { version = "~0.1.33", optional = true }
crossbeam = { version = "~0.2.8", optional = true }


# Tests
[dev-dependencies]
tempdir = "~0.3.4"


[features]
default = ["output", "watch"]
debug = []
output = []
regenerate-css = []
watch = ["notify", "time", "crossbeam"]

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

Fix wildcard dependency on crossbeam
Fix wildcard dependency on crossbeam
