]>
Commit | Line | Data |
---|---|---|
cc61c64b XL |
1 | [package] |
2 | name = "mdbook" | |
3 | version = "0.0.19" | |
4 | authors = ["Mathieu David <mathieudavid@mathieudavid.org>"] | |
5 | description = "create books from markdown files (like Gitbook)" | |
6 | documentation = "http://azerupi.github.io/mdBook/index.html" | |
7 | repository = "https://github.com/azerupi/mdBook" | |
8 | keywords = ["book", "gitbook", "rustbook", "markdown"] | |
9 | license = "MPL-2.0" | |
10 | readme = "README.md" | |
11 | build = "build.rs" | |
12 | exclude = [ | |
13 | "book-example/*", | |
14 | "src/theme/stylus", | |
15 | ] | |
16 | ||
17 | [dependencies] | |
18 | clap = "2.19.2" | |
19 | handlebars = { version = "0.25.0", features = ["serde_type"] } | |
20 | serde = "0.9" | |
21 | serde_json = "0.9" | |
22 | pulldown-cmark = "0.0.8" | |
23 | log = "0.3" | |
24 | env_logger = "0.4.0" | |
25 | toml = { version = "0.3", features = ["serde"] } | |
26 | open = "1.1" | |
27 | regex = "0.2.1" | |
28 | ||
29 | # Watch feature | |
30 | notify = { version = "4.0", optional = true } | |
31 | time = { version = "0.1.34", optional = true } | |
32 | crossbeam = { version = "0.2.8", optional = true } | |
33 | ||
34 | # Serve feature | |
35 | iron = { version = "0.5", optional = true } | |
36 | staticfile = { version = "0.4", optional = true } | |
37 | ws = { version = "0.6", optional = true} | |
38 | ||
39 | # Tests | |
40 | [dev-dependencies] | |
41 | tempdir = "0.3.4" | |
42 | ||
43 | [features] | |
44 | default = ["output", "watch", "serve"] | |
45 | debug = [] | |
46 | output = [] | |
47 | regenerate-css = [] | |
48 | watch = ["notify", "time", "crossbeam"] | |
49 | serve = ["iron", "staticfile", "ws"] | |
50 | ||
51 | [[bin]] | |
52 | doc = false | |
53 | name = "mdbook" | |
54 | path = "src/bin/mdbook.rs" |