mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2025-12-26 17:02:24 +01:00
chore(gen): regen all cli for new version
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
[package]
|
||||
|
||||
name = "google-siteverification1-cli"
|
||||
version = "1.0.2+20160228"
|
||||
version = "1.0.3+20160228"
|
||||
authors = ["Sebastian Thiel <byronimo@gmail.com>"]
|
||||
description = "A complete library to interact with siteVerification (protocol v1)"
|
||||
repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/siteverification1-cli"
|
||||
@@ -17,14 +17,15 @@ keywords = ["siteVerification", "google", "cli"]
|
||||
name = "siteverification1"
|
||||
|
||||
[dependencies]
|
||||
hyper = "^ 0.9"
|
||||
hyper = "^ 0.10"
|
||||
mime = "^ 0.2.0"
|
||||
serde = "^ 0.8"
|
||||
serde_json = "^ 0.8"
|
||||
yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false }
|
||||
serde_derive = { version = "^ 0.8", optional = true }
|
||||
strsim = "^0.5"
|
||||
yup-hyper-mock = "^1.0"
|
||||
hyper-rustls = "^0.3"
|
||||
yup-hyper-mock = "^2.0"
|
||||
clap = "^2.0"
|
||||
|
||||
[features]
|
||||
@@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true }
|
||||
|
||||
[dependencies.google-siteverification1]
|
||||
path = "../siteverification1"
|
||||
version = "1.0.2+20160228"
|
||||
version = "1.0.3+20160228"
|
||||
optional = true
|
||||
default-features = false
|
||||
|
||||
@@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma
|
||||
|
||||
# Usage
|
||||
|
||||
This documentation was generated from the *siteVerification* API at revision *20160228*. The CLI is at version *1.0.2*.
|
||||
This documentation was generated from the *siteVerification* API at revision *20160228*. The CLI is at version *1.0.3*.
|
||||
|
||||
```bash
|
||||
siteverification1 [options]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
site_name: siteVerification v1.0.2+20160228
|
||||
site_name: siteVerification v1.0.3+20160228
|
||||
site_url: http://byron.github.io/google-apis-rs/google-siteverification1-cli
|
||||
site_description: A complete library to interact with siteVerification (protocol v1)
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
extern crate clap;
|
||||
extern crate yup_oauth2 as oauth2;
|
||||
extern crate yup_hyper_mock as mock;
|
||||
extern crate hyper_rustls;
|
||||
extern crate serde;
|
||||
extern crate serde_json;
|
||||
extern crate hyper;
|
||||
@@ -612,10 +613,10 @@ impl<'n> Engine<'n> {
|
||||
let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate,
|
||||
if opt.is_present("debug-auth") {
|
||||
hyper::Client::with_connector(mock::TeeConnector {
|
||||
connector: hyper::net::HttpsConnector::<hyper::net::Openssl>::default()
|
||||
connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())
|
||||
})
|
||||
} else {
|
||||
hyper::Client::new()
|
||||
hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()))
|
||||
},
|
||||
JsonTokenStorage {
|
||||
program_name: "siteverification1",
|
||||
@@ -625,10 +626,10 @@ impl<'n> Engine<'n> {
|
||||
let client =
|
||||
if opt.is_present("debug") {
|
||||
hyper::Client::with_connector(mock::TeeConnector {
|
||||
connector: hyper::net::HttpsConnector::<hyper::net::Openssl>::default()
|
||||
connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())
|
||||
})
|
||||
} else {
|
||||
hyper::Client::new()
|
||||
hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()))
|
||||
};
|
||||
let engine = Engine {
|
||||
opt: opt,
|
||||
@@ -827,7 +828,7 @@ fn main() {
|
||||
|
||||
let mut app = App::new("siteverification1")
|
||||
.author("Sebastian Thiel <byronimo@gmail.com>")
|
||||
.version("1.0.2+20160228")
|
||||
.version("1.0.3+20160228")
|
||||
.about("Verifies ownership of websites or domains with Google.")
|
||||
.after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_siteverification1_cli")
|
||||
.arg(Arg::with_name("url")
|
||||
|
||||
Reference in New Issue
Block a user