mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
chore(gen): regen all cli for new version
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
[package]
|
||||
|
||||
name = "google-discovery1-cli"
|
||||
version = "1.0.2+00000000"
|
||||
version = "1.0.3+00000000"
|
||||
authors = ["Sebastian Thiel <byronimo@gmail.com>"]
|
||||
description = "A complete library to interact with discovery (protocol v1)"
|
||||
repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/discovery1-cli"
|
||||
@@ -17,14 +17,15 @@ keywords = ["discovery", "google", "cli"]
|
||||
name = "discovery1"
|
||||
|
||||
[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-discovery1]
|
||||
path = "../discovery1"
|
||||
version = "1.0.2+00000000"
|
||||
version = "1.0.3+00000000"
|
||||
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 *discovery* API at revision *00000000*. The CLI is at version *1.0.2*.
|
||||
This documentation was generated from the *discovery* API at revision *00000000*. The CLI is at version *1.0.3*.
|
||||
|
||||
```bash
|
||||
discovery1 [options]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
site_name: discovery v1.0.2+00000000
|
||||
site_name: discovery v1.0.3+00000000
|
||||
site_url: http://byron.github.io/google-apis-rs/google-discovery1-cli
|
||||
site_description: A complete library to interact with discovery (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;
|
||||
@@ -203,10 +204,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: "discovery1",
|
||||
@@ -216,10 +217,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,
|
||||
@@ -302,7 +303,7 @@ fn main() {
|
||||
|
||||
let mut app = App::new("discovery1")
|
||||
.author("Sebastian Thiel <byronimo@gmail.com>")
|
||||
.version("1.0.2+00000000")
|
||||
.version("1.0.3+00000000")
|
||||
.about("Provides information about other Google APIs, such as what APIs are available, the resource, and method details for each API.")
|
||||
.after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_discovery1_cli")
|
||||
.arg(Arg::with_name("folder")
|
||||
|
||||
Reference in New Issue
Block a user