mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-15 22:18:10 +01:00
chore(source): add source at latest version
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user