There's an incompatibility with the dependencies. This PR fixes that, and also updates the time and oath crates for good measure.
For me this was encountered by simply doing a cargo update, so there's something not correctly pinned going on in the background causing this.
Building the latest master gives the following error.
error[E0308]: mismatched types
--> src/auth.rs:43:37
|
43 | auth: Some(Arc::new(auth)),
| ^^^^ expected struct `HttpsConnector`, found struct `hyper_rustls::connector::HttpsConnector`
|
= note: expected struct `Authenticator<HttpsConnector<HttpConnector>>`
found struct `Authenticator<hyper_rustls::connector::HttpsConnector<HttpConnector>>`
= note: perhaps two different versions of crate `hyper_rustls` are being used?
For more information about this error, try `rustc --explain E0308`.
error: could not compile `gcp-bigquery-client` due to previous error
From the cargo.lock file being generated we can see that this is due to reqwest and yup-oauth2 requiring 0.23.0.
There's an incompatibility with the dependencies. This PR fixes that, and also updates the time and oath crates for good measure.
For me this was encountered by simply doing a
cargo update
, so there's something not correctly pinned going on in the background causing this.Building the latest master gives the following error.
From the
cargo.lock
file being generated we can see that this is due to reqwest and yup-oauth2 requiring0.23.0
.While this crate requires
0.22.1