Update dependencies

This commit is contained in:
Mathieu David 2016-02-16 21:37:37 +01:00
parent 6bac41caa8
commit fe775850dc
2 changed files with 6 additions and 5 deletions

View File

@ -1,6 +1,6 @@
[package] [package]
name = "mdbook" name = "mdbook"
version = "0.0.11" version = "0.1.0"
authors = ["Mathieu David <mathieudavid@mathieudavid.org>"] authors = ["Mathieu David <mathieudavid@mathieudavid.org>"]
description = "create books from markdown files (like Gitbook)" description = "create books from markdown files (like Gitbook)"
documentation = "http://azerupi.github.io/mdBook/index.html" documentation = "http://azerupi.github.io/mdBook/index.html"
@ -15,8 +15,9 @@ exclude = [
] ]
[dependencies] [dependencies]
clap = "1.5.3" clap = "2.1.2"
handlebars = "0.12.0" toml = "0.1.27"
handlebars = "0.14.0"
rustc-serialize = "0.3.16" rustc-serialize = "0.3.16"
pulldown-cmark = "0.0.6" pulldown-cmark = "0.0.6"

View File

@ -16,7 +16,7 @@ use std::error::Error;
use std::io::{self, Write}; use std::io::{self, Write};
use std::path::{Path, PathBuf}; use std::path::{Path, PathBuf};
use clap::{App, ArgMatches, SubCommand}; use clap::{App, ArgMatches, SubCommand, AppSettings};
// Uses for the Watch feature // Uses for the Watch feature
#[cfg(feature = "watch")] #[cfg(feature = "watch")]
@ -36,7 +36,7 @@ fn main() {
.author("Mathieu David <mathieudavid@mathieudavid.org>") .author("Mathieu David <mathieudavid@mathieudavid.org>")
// Get the version from our Cargo.toml using clap's crate_version!() macro // Get the version from our Cargo.toml using clap's crate_version!() macro
.version(&*format!("v{}", crate_version!())) .version(&*format!("v{}", crate_version!()))
.subcommand_required(true) .setting(AppSettings::SubcommandRequired)
.after_help("For more information about a specific command, try `mdbook <command> --help`") .after_help("For more information about a specific command, try `mdbook <command> --help`")
.subcommand(SubCommand::with_name("init") .subcommand(SubCommand::with_name("init")
.about("Create boilerplate structure and files in the directory") .about("Create boilerplate structure and files in the directory")