mirror of
https://github.com/rust-lang/mdBook
synced 2024-12-14 06:42:35 +00:00
6c4c3448e3
* Removed the itertools dependency * Removed an unused feature flag * Stubbed out a toml_query replacement * Update dependencies. * Bump env_logger. * Use warp instead of iron for http server. Iron does not appear to be maintained anymore. warp/hyper seems to be reasonably maintained. Unfortunately this takes a few seconds more to compile, but shouldn't be too bad. One benefit is that there is no longer a need for a separate websocket port, which makes it easier to run multiple servers at once. * Update pulldown-cmark to 0.7 * Switch from error-chain to anyhow. * Bump MSRV to 1.39. * Update elasticlunr-rs. Co-authored-by: Michael Bryan <michaelfbryan@gmail.com>
63 lines
1.5 KiB
TOML
63 lines
1.5 KiB
TOML
[package]
|
|
name = "mdbook"
|
|
version = "0.4.0"
|
|
authors = [
|
|
"Mathieu David <mathieudavid@mathieudavid.org>",
|
|
"Michael-F-Bryan <michaelfbryan@gmail.com>",
|
|
"Matt Ickstadt <mattico8@gmail.com>"
|
|
]
|
|
documentation = "http://rust-lang.github.io/mdBook/index.html"
|
|
edition = "2018"
|
|
exclude = ["/book-example/*"]
|
|
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"
|
|
chrono = "0.4"
|
|
clap = "2.24"
|
|
env_logger = "0.7.1"
|
|
handlebars = "3.0"
|
|
lazy_static = "1.0"
|
|
log = "0.4"
|
|
memchr = "2.0"
|
|
open = "1.1"
|
|
pulldown-cmark = "0.7.0"
|
|
regex = "1.0.0"
|
|
serde = "1.0"
|
|
serde_derive = "1.0"
|
|
serde_json = "1.0"
|
|
shlex = "0.1"
|
|
tempfile = "3.0"
|
|
toml = "0.5.1"
|
|
|
|
# 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 = "0.2.18", features = ["macros"], optional = true }
|
|
warp = { version = "0.2.2", default-features = false, features = ["websocket"], optional = true }
|
|
|
|
# Search feature
|
|
elasticlunr-rs = { version = "2.3", optional = true, default-features = false }
|
|
ammonia = { version = "3", optional = true }
|
|
|
|
[dev-dependencies]
|
|
select = "0.4"
|
|
pretty_assertions = "0.6"
|
|
walkdir = "2.0"
|
|
|
|
[features]
|
|
default = ["watch", "serve", "search"]
|
|
watch = ["notify", "gitignore"]
|
|
serve = ["futures-util", "tokio", "warp"]
|
|
search = ["elasticlunr-rs", "ammonia"]
|
|
|
|
[[bin]]
|
|
doc = false
|
|
name = "mdbook"
|