Skip to content

Commit

Permalink
yup-oauth2 10 (#89)
Browse files Browse the repository at this point in the history
hyper v1 removed HttpConnector, now exists in hyper-utils
  • Loading branch information
serprex authored Jun 16, 2024
1 parent 4e63c37 commit 7a20ff0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ rust-tls = ["reqwest/rustls-tls"]
bq_load_job = ["cloud-storage"]

[dependencies]
yup-oauth2 = "9.0.0"
hyper = {version="1.3.1", features = ["http1"]}
yup-oauth2 = "10.0.1"
hyper = { version = "1.3.1", features = ["http1"] }
hyper-util = { version = "0.1", default-features = false, features = ["client-legacy"] }
thiserror = "1.0.59"
tokio = { version = "1.37.0", default-features = false, features = ["rt-multi-thread", "net", "sync", "macros"] }
tokio-stream = "0.1.15"
Expand Down
2 changes: 1 addition & 1 deletion src/auth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ use std::sync::Arc;

use async_trait::async_trait;
use dyn_clone::{clone_trait_object, DynClone};
use hyper_util::client::legacy::connect::HttpConnector;
use yup_oauth2::authenticator::ApplicationDefaultCredentialsTypes;
use yup_oauth2::authenticator::Authenticator as YupAuthenticator;
use yup_oauth2::authorized_user::AuthorizedUserSecret;
use yup_oauth2::hyper::client::HttpConnector;
use yup_oauth2::hyper_rustls::HttpsConnector;
use yup_oauth2::ApplicationDefaultCredentialsAuthenticator as YupApplicationDefaultCredentialsAuthenticator;
use yup_oauth2::ApplicationDefaultCredentialsFlowOpts;
Expand Down

0 comments on commit 7a20ff0

Please sign in to comment.