chore(source): add source at latest version

This commit is contained in:
Sebastian Thiel
2015-08-08 11:50:37 +02:00
parent 8ab4fd0bd4
commit 08d65ba62b
770 changed files with 25835 additions and 10900 deletions

View File

@@ -8,6 +8,7 @@ extern crate clap;
extern crate yup_oauth2 as oauth2;
extern crate yup_hyper_mock as mock;
extern crate serde;
extern crate serde_json;
extern crate hyper;
extern crate mime;
extern crate strsim;
@@ -27,7 +28,7 @@ use std::default::Default;
use std::str::FromStr;
use oauth2::{Authenticator, DefaultAuthenticatorDelegate};
use serde::json;
use serde_json as json;
use clap::ArgMatches;
enum DoitError {
@@ -314,7 +315,7 @@ fn main() {
let mut app = App::new("customsearch1")
.author("Sebastian Thiel <byronimo@gmail.com>")
.version("0.3.1+20131205")
.version("0.3.2+20131205")
.about("Lets you search over a website or collection of websites")
.after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_customsearch1_cli")
.arg(Arg::with_name("folder")
@@ -391,7 +392,7 @@ fn main() {
},
DoitError::ApiError(err) => {
if debug {
writeln!(io::stderr(), "{:?}", err).ok();
writeln!(io::stderr(), "{:#?}", err).ok();
} else {
writeln!(io::stderr(), "{}", err).ok();
}