From 08abd44cce512c11698836988d679fd050485c4e Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Fri, 22 Oct 2021 08:18:03 +0800 Subject: [PATCH] Allow access to the client and the hub --- etc/api/drive/v3/crates/2.0.9-api+20210322 | 0 src/mako/api/api.rs.mako | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 etc/api/drive/v3/crates/2.0.9-api+20210322 diff --git a/etc/api/drive/v3/crates/2.0.9-api+20210322 b/etc/api/drive/v3/crates/2.0.9-api+20210322 new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/mako/api/api.rs.mako b/src/mako/api/api.rs.mako index 7f454901b5..491b00227b 100644 --- a/src/mako/api/api.rs.mako +++ b/src/mako/api/api.rs.mako @@ -49,8 +49,8 @@ ${lib.hub_usage_example(c)}\ #[derive(Clone)] pub struct ${hub_type}${ht_params} { - client: hyper::Client, hyper::body::Body>, - auth: oauth2::authenticator::Authenticator>, + pub client: hyper::Client, hyper::body::Body>, + pub auth: oauth2::authenticator::Authenticator>, _user_agent: String, _base_url: String, _root_url: String,