mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-13 21:19:05 +01:00
regen all APIs and CLIs
This commit is contained in:
@@ -770,7 +770,13 @@ impl<'n> Engine<'n> {
|
||||
oauth2::InstalledFlowReturnMethod::HTTPRedirect,
|
||||
).persist_tokens_to_disk(format!("{}/spectrum1-explorer", config_dir)).build().await.unwrap();
|
||||
|
||||
let client = hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots());
|
||||
let client = hyper::Client::builder().build(
|
||||
hyper_rustls::HttpsConnectorBuilder::new().with_native_roots()
|
||||
.https_or_http()
|
||||
.enable_http1()
|
||||
.enable_http2()
|
||||
.build()
|
||||
);
|
||||
let engine = Engine {
|
||||
opt: opt,
|
||||
hub: api::Spectrum::new(client, auth),
|
||||
@@ -941,7 +947,7 @@ async fn main() {
|
||||
|
||||
let mut app = App::new("spectrum1-explorer")
|
||||
.author("Sebastian Thiel <byronimo@gmail.com>")
|
||||
.version("3.0.0+20170306")
|
||||
.version("3.1.0+20170306")
|
||||
.about("API for spectrum-management functions.")
|
||||
.after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_spectrum1_explorer_cli")
|
||||
.arg(Arg::with_name("folder")
|
||||
|
||||
Reference in New Issue
Block a user